From: Jeffrin Jose Date: Sun, 3 Jun 2012 12:11:52 +0000 (+0800) Subject: leds: fixed a coding style issue. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9cd5ec5e5447f99ffb33ce39c1fcd0e3306e11d1;p=openwrt%2Fstaging%2Fblogic.git leds: fixed a coding style issue. Fixed a coding style issue relating to trailing white space error found by checkpatch.pl tool in drivers/leds/led-class.c Signed-off-by: Jeffrin Jose Signed-off-by: Bryan Wu --- diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 8ee92c81aec2..e663e6f413e9 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -29,7 +29,7 @@ static void led_update_brightness(struct led_classdev *led_cdev) led_cdev->brightness = led_cdev->brightness_get(led_cdev); } -static ssize_t led_brightness_show(struct device *dev, +static ssize_t led_brightness_show(struct device *dev, struct device_attribute *attr, char *buf) { struct led_classdev *led_cdev = dev_get_drvdata(dev);