diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-11-27 01:40:32 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-01-15 07:42:14 +0100 |
commit | 154f757fd315270e42bd17f4a68d84bd070e5758 (patch) | |
tree | c7b107c638428d0d959672fe00be356f1cdff8ed /drivers/extcon/extcon-class.c | |
parent | Linux 3.8-rc3 (diff) | |
download | linux-154f757fd315270e42bd17f4a68d84bd070e5758.tar.xz linux-154f757fd315270e42bd17f4a68d84bd070e5758.zip |
extcon: max77693: Remove duplicate code by making function
This patch make max77693-muic_get_cable_type() function to remove
duplicate code because almost internal function need to read
adc/adc1k/adclow/chg_type value of MUIC register. Also, this patch
add description of internal function move field constant of muic device
from extcon-max77693 driver to max77693 header file because of it
is needed for masking some interrupt through platform data.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-class.c')
0 files changed, 0 insertions, 0 deletions