summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/ili9320.h
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-29 16:18:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:28:18 -0700
commiteb39ad2558c75b43ea21a2578088ab8d63a79d92 (patch)
tree41df2fad5875988de3abb3be8376cce2ef9f335c /drivers/video/backlight/ili9320.h
parent1dde37d4574cce3c0c99ddffc3623b533578be49 (diff)
downloadop-kernel-dev-eb39ad2558c75b43ea21a2578088ab8d63a79d92.zip
op-kernel-dev-eb39ad2558c75b43ea21a2578088ab8d63a79d92.tar.gz
backlight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops
Instead of using legacy suspend/resume methods, using newer dev_pm_ops structure allows better control over power management. Also, use of pm_message_t is deprecated. Thus, it is removed. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight/ili9320.h')
-rw-r--r--drivers/video/backlight/ili9320.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/ili9320.h b/drivers/video/backlight/ili9320.h
index e0db738..42329e7 100644
--- a/drivers/video/backlight/ili9320.h
+++ b/drivers/video/backlight/ili9320.h
@@ -76,5 +76,5 @@ extern void ili9320_shutdown(struct ili9320 *lcd);
/* PM */
-extern int ili9320_suspend(struct ili9320 *lcd, pm_message_t state);
+extern int ili9320_suspend(struct ili9320 *lcd);
extern int ili9320_resume(struct ili9320 *lcd);
OpenPOWER on IntegriCloud