diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-05-29 11:27:51 -0400 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2014-06-16 00:33:19 -0400 |
commit | 5a8844b596d5a6008b14d2677b426ac7ed7d260b (patch) | |
tree | 0199a158e093b4b29c67396d6a42c42c1bab4161 /drivers/extcon | |
parent | e48f9dac3fc9f8abe03755973dcafc17d5351137 (diff) |
extcon: arizona: Remove duplicate set of input parent device
devm_input_allocate_device already sets the parent device to be that
passed to it, we also set this manually in arizona_extcon_probe. This
patch removes the redundant set from arizona_extcon_probe.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index cf907430a698..21ee055b1b77 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -1186,7 +1186,6 @@ static int arizona_extcon_probe(struct platform_device *pdev) | |||
1186 | 1186 | ||
1187 | info->input->name = "Headset"; | 1187 | info->input->name = "Headset"; |
1188 | info->input->phys = "arizona/extcon"; | 1188 | info->input->phys = "arizona/extcon"; |
1189 | info->input->dev.parent = &pdev->dev; | ||
1190 | 1189 | ||
1191 | if (pdata->num_micd_configs) { | 1190 | if (pdata->num_micd_configs) { |
1192 | info->micd_modes = pdata->micd_configs; | 1191 | info->micd_modes = pdata->micd_configs; |