summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-palmas.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-29 14:43:56 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2020-09-24 12:20:49 +0200
commitce90c3c9b3ab2e25530a9bb313f3c51718d5d96b (patch)
treeb6ae3bdff47d5a71331e40bc3066a873a252ff15 /drivers/extcon/extcon-palmas.c
parentextcon: max77843: Return error code of extcon_dev_allocate() (diff)
downloadlinux-ce90c3c9b3ab2e25530a9bb313f3c51718d5d96b.tar.xz
linux-ce90c3c9b3ab2e25530a9bb313f3c51718d5d96b.zip
extcon: max8997: Return error code of extcon_dev_allocate()
devm_extcon_dev_allocate() can fail of multiple reasons. The call returns proper error code on failure so pass it instead of fixed ENOMEM. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-palmas.c')
0 files changed, 0 insertions, 0 deletions