summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/hp680_bl.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-17 16:00:18 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:14 -0800
commitff10b0741236b42ec7e97b4ba2d682be53868050 (patch)
tree6c5071456b862e50d56acba9d1ebdc73e02d85a1 /drivers/video/backlight/hp680_bl.c
parent933bd9b3fda5482e88a84a1a3678bb1fbb11a60a (diff)
downloadop-kernel-dev-ff10b0741236b42ec7e97b4ba2d682be53868050.zip
op-kernel-dev-ff10b0741236b42ec7e97b4ba2d682be53868050.tar.gz
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/backlight/hp680_bl.c')
-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 c999663..5cefd73 100644
--- a/drivers/video/backlight/hp680_bl.c
+++ b/drivers/video/backlight/hp680_bl.c
@@ -26,7 +26,7 @@
#define HP680_DEFAULT_INTENSITY 10
static int hp680bl_suspended;
-static int current_intensity = 0;
+static int current_intensity;
static DEFINE_SPINLOCK(bl_lock);
static void hp680bl_send_intensity(struct backlight_device *bd)
@@ -168,7 +168,7 @@ static int __init hp680bl_init(void)
static void __exit hp680bl_exit(void)
{
platform_device_unregister(hp680bl_device);
- platform_driver_unregister(&hp680bl_driver);
+ platform_driver_unregister(&hp680bl_driver);
}
module_init(hp680bl_init);
OpenPOWER on IntegriCloud