projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd11606
)
extcon: max77693: Convert to devm_input_allocate_device()
author
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 13 Feb 2013 09:35:05 +0000
(18:35 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 13 Feb 2013 16:35:43 +0000
(08:35 -0800)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-max77693.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-max77693.c
b/drivers/extcon/extcon-max77693.c
index fb6527607a11bf74178cc06f8a8795845edb34d1..597f33c1f8683bbbe1271708d12348232c32a220 100644
(file)
--- a/
drivers/extcon/extcon-max77693.c
+++ b/
drivers/extcon/extcon-max77693.c
@@
-1066,7
+1066,7
@@
static int max77693_muic_probe(struct platform_device *pdev)
}
/* Register input device for button of dock device */
- info->dock =
input_allocate_device(
);
+ info->dock =
devm_input_allocate_device(&pdev->dev
);
if (!info->dock) {
dev_err(&pdev->dev, "%s: failed to allocate input\n", __func__);
return -ENOMEM;