From: Guenter Roeck Date: Thu, 26 Apr 2012 04:51:01 +0000 (-0700) Subject: Minor cosmetic cleanup X-Git-Tag: nct6775-v0.9~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed2fbde486c66addf4e446bc7203a986b7b6dcde;p=groeck-nct6775 Minor cosmetic cleanup Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index 1e37a0d..9a5d955 100644 --- 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 ||