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:
8d4288f
)
extcon: gpio: Use SIMPLE_DEV_PM_OPS macro
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 27 Feb 2014 11:37:15 +0000
(20:37 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 19 Mar 2014 04:45:42 +0000
(13:45 +0900)
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-gpio.c
b/drivers/extcon/extcon-gpio.c
index a63a6b21c9ad4a539e311ff17899491922efaa54..13d522255d818e924465d8c63fb653a5737a4bef 100644
(file)
--- a/
drivers/extcon/extcon-gpio.c
+++ b/
drivers/extcon/extcon-gpio.c
@@
-176,9
+176,7
@@
static int gpio_extcon_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops gpio_extcon_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(NULL, gpio_extcon_resume)
-};
+static SIMPLE_DEV_PM_OPS(gpio_extcon_pm_ops, NULL, gpio_extcon_resume);
static struct platform_driver gpio_extcon_driver = {
.probe = gpio_extcon_probe,