aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-17 19:00:18 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 20:15:14 -0500
commitff10b0741236b42ec7e97b4ba2d682be53868050 (patch)
tree6c5071456b862e50d56acba9d1ebdc73e02d85a1 /drivers/video
parent933bd9b3fda5482e88a84a1a3678bb1fbb11a60a (diff)
backlight: hp680_bl: fix checkpatch error and warning
This patch fixes the checkpatch error and warning as below: WARNING: please, no space before tabs WARNING: please, no spaces at the start of a line ERROR: do not initialise statics to 0 or NULL ERROR: code indent should use tabs where possible Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/hp680_bl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c
index c9996634244..5cefd73526f 100644
--- a/drivers/video/backlight/hp680_bl.c
+++ b/drivers/video/backlight/hp680_bl.c
@@ -26,7 +26,7 @@
26#define HP680_DEFAULT_INTENSITY 10 26#define HP680_DEFAULT_INTENSITY 10
27 27
28static int hp680bl_suspended; 28static int hp680bl_suspended;
29static int current_intensity = 0; 29static int current_intensity;
30static DEFINE_SPINLOCK(bl_lock); 30static DEFINE_SPINLOCK(bl_lock);
31 31
32static void hp680bl_send_intensity(struct backlight_device *bd) 32static void hp680bl_send_intensity(struct backlight_device *bd)
@@ -168,7 +168,7 @@ static int __init hp680bl_init(void)
168static void __exit hp680bl_exit(void) 168static void __exit hp680bl_exit(void)
169{ 169{
170 platform_device_unregister(hp680bl_device); 170 platform_device_unregister(hp680bl_device);
171 platform_driver_unregister(&hp680bl_driver); 171 platform_driver_unregister(&hp680bl_driver);
172} 172}
173 173
174module_init(hp680bl_init); 174module_init(hp680bl_init);