Skip to content

Commit

Permalink
extcon: max77693: Remove duplicate code by making function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chanwoo Choi committed Jan 15, 2013
1 parent 9931fac commit 154f757
Show file tree
Hide file tree
Showing 2 changed files with 327 additions and 199 deletions.
Loading

0 comments on commit 154f757

Please sign in to comment.