]> git.sur5r.net Git - groeck-nct6775/commitdiff
Minor cosmetic cleanup
authorGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2012 04:51:01 +0000 (21:51 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2012 04:51:01 +0000 (21:51 -0700)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c

index 1e37a0d7080d5477e4519743226f6ac168d31214..9a5d95599db3706799cd405825e54c641aa8bccc 100644 (file)
--- a/nct6775.c
+++ b/nct6775.c
@@ -3471,7 +3471,8 @@ static int __devinit nct6775_probe(struct platform_device *pdev)
                }
                superio_outb(sio_data->sioreg, NCT6775_REG_CR_FAN_DEBOUNCE,
                             tmp);
-               pr_info("Enabled fan debounce for chip %s\n", data->name);
+               dev_info(&pdev->dev, "Enabled fan debounce for chip %s\n",
+                        data->name);
        }
 
        superio_exit(sio_data->sioreg);
@@ -3585,8 +3586,7 @@ static int __devinit nct6775_probe(struct platform_device *pdev)
                err = device_create_file(dev, &sda_temp_type[i].dev_attr);
                if (err)
                        goto exit_remove;
-               err = device_create_file(dev,
-                                        &sda_temp_offset[i].dev_attr);
+               err = device_create_file(dev, &sda_temp_offset[i].dev_attr);
                if (err)
                        goto exit_remove;
                if (i >= NUM_TEMP_ALARM ||