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>
This commit is contained in:

committed by
Linus Torvalds

parent
1dde37d457
commit
eb39ad2558
@@ -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);
|
||||
|
Reference in New Issue
Block a user