From ed2fbde486c66addf4e446bc7203a986b7b6dcde Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Wed, 25 Apr 2012 21:51:01 -0700 Subject: [PATCH] Minor cosmetic cleanup Signed-off-by: Guenter Roeck --- nct6775.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 || -- 2.39.5