projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df77542
)
[media] smiapp: Set use suspend and resume ops for other functions
author
Sakari Ailus
<
[email protected]
>
Wed, 14 Sep 2016 14:58:17 +0000
(11:58 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Fri, 21 Oct 2016 17:40:53 +0000
(15:40 -0200)
Use the suspend and resume ops for freeze, thaw, poweroff and restore
callbacks as well.
Signed-off-by: Sakari Ailus <
[email protected]
>
Reviewed-by: Sebastian Reichel <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/smiapp/smiapp-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/smiapp/smiapp-core.c
b/drivers/media/i2c/smiapp/smiapp-core.c
index 3ea4f12ecee210c51b9ce9bf7e3cd158eedda5a2..88ad4b97ba85670474b046bbd4d338633ca539f8 100644
(file)
--- a/
drivers/media/i2c/smiapp/smiapp-core.c
+++ b/
drivers/media/i2c/smiapp/smiapp-core.c
@@
-3111,8
+3111,7
@@
static const struct i2c_device_id smiapp_id_table[] = {
MODULE_DEVICE_TABLE(i2c, smiapp_id_table);
static const struct dev_pm_ops smiapp_pm_ops = {
- .suspend = smiapp_suspend,
- .resume = smiapp_resume,
+ SET_SYSTEM_SLEEP_PM_OPS(smiapp_suspend, smiapp_resume)
};
static struct i2c_driver smiapp_i2c_driver = {