summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-gpio.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 10:05:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 10:05:27 -0700
commit1b3fa22e0234d613df967445cd34807e10fa54fa (patch)
tree8891a1d1f5d10416d32f15dbcee098b9572d079f /drivers/extcon/extcon-gpio.c
parenta05f8f86e49749f239c49257db1d3ac6f474f0dd (diff)
parent1ad94ffef22c0a6e2ee6ba90a800c32fd29ffa1f (diff)
downloadblackbird-op-linux-1b3fa22e0234d613df967445cd34807e10fa54fa.tar.gz
blackbird-op-linux-1b3fa22e0234d613df967445cd34807e10fa54fa.zip
Merge tag 'extcon-next-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next
Chanwoo writes: Update extcon for v3.15 This patchset fix minor issue. The extcon-palmas/gpio use SIMPLE_DEV_PM_OPS macro instead of legacy method. OF helper function of extcon move in extcon core to remove separate of_extcon.c and change the name of OF helper function as following because previous function name is complicated and ambiguous naming. - of_extcon_get_extcon_dev() -> extcon_get_edev_by_phandle()
Diffstat (limited to 'drivers/extcon/extcon-gpio.c')
-rw-r--r--drivers/extcon/extcon-gpio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
index a63a6b21c9ad..13d522255d81 100644
--- 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,
OpenPOWER on IntegriCloud