]> asedeno.scripts.mit.edu Git - linux.git/commit
extcon: adc-jack: Remove the unneeded num_cables field
authorChanwoo Choi <cw00.choi@samsung.com>
Sat, 25 Apr 2015 09:44:47 +0000 (18:44 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 19 May 2015 07:39:06 +0000 (16:39 +0900)
commitc571bbb4b699cfd3af5b4c1027b04eb4290e6726
tree3f207a52b04c66dab57adf335adb4aaec50f4e5e
parent942e0239d51185d6532f3ac846e5ab06db0a86cf
extcon: adc-jack: Remove the unneeded num_cables field

This patch removes the 'num_cables' filed from 'struct adc_jack_pdata'
because 'struct extcon_dev' contains the 'max_supported' field which
means the number of supported cable of extcon device.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c