summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-12-19 03:13:06 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 04:04:09 +0300
commit768842413997c3c946a716427b78cc308a4fdae0 (patch)
treec134ed0ae494b069e48e2ade6f4b6e9d539cc8e8 /firmware
parent9fe172b9be532acc23e35ba693700383ab775e66 (diff)
downloadlinux-768842413997c3c946a716427b78cc308a4fdae0.tar.xz
extcon: axp288: Remove dependency on non-existing platform_data
When the extcon_axp288 driver was originally merged, it was merged with a dependency on some other driver providing platform data for it. However such another driver was never merged, so the extcon_axp288 as merged upstream has never worked, its probe method simply always returns -ENODEV. This commit drops the dependency on the pdata always being there, instead it treats not having pdata as the pdata having a NULL gpio_mux_control, something which the code was already prepared to handle. Note that the code for controlling the mux_control gpio is left in place, as this may be necessary to allow the axp288 pmic to properly detect the charger type (instead of assuming 500mA max charge current) on some tablets. This will make it easier for future patches to add support for this gpio by getting the gpio info from somewhere. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions