extcon: arizona: Move pdata extraction to probe
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 9 Dec 2019 11:09:09 +0000 (11:09 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Dec 2019 11:18:14 +0000 (20:18 +0900)
commitbe87cb72bf7513fb92fa0e9e4ae83f958c73c042
treeeabc9c39f08bbda8d8d2e38bd08ed3dd51169725
parentb82f871a335a8b0de178ace526c847183d17f66d
extcon: arizona: Move pdata extraction to probe

It makes no sense to be extracting values from pdata for the first time
in the jack detection handler function, move this to probe time where it
belongs.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c