extcon: Change field type of 'dev' in extcon_dev structure
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:19:40 +0000 (09:19 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:01 +0000 (09:37 +0900)
commitdae616512476024aa61d2a598461ab6eff8c0709
tree8fbc98fef0beb28f8dbc334624bd63cde45b2101
parent4102424302b313516d11a325e2ba614deec526a2
extcon: Change field type of 'dev' in extcon_dev structure

The extcon device must always need 'struct device' so this patch change
field type of 'dev' instead of allocating memory for 'struct device' on
extcon_dev_register() function.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c
drivers/extcon/extcon-class.c
include/linux/extcon.h