Skip to content
Commit ce6f7496 authored by Chanwoo Choi's avatar Chanwoo Choi
Browse files

extcon: gpio: Add the missing supported_cable parameter to devm_extcon_dev_allocate()



The commit 2a9de9c0 ("extcon: Use the unique id for external connector instead
of string") defines the unique id of each external connector to identify the
type of external connector instead of string name. So, devm_extcon_dev_allocate()
should include the second parameter (unsigned int *supported_cable). This patch
adds the supported_cable parameter which is passed by platform data.

Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 60f9b9e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment