From: Chanwoo Choi Date: Tue, 27 Nov 2012 00:40:32 +0000 (+0900) Subject: extcon: max77693: Remove duplicate code by making function X-Git-Tag: v3.9-rc1~124^2~113^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154f757fd315270e42bd17f4a68d84bd070e5758;p=pandora-kernel.git 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 Signed-off-by: Myungjoo Ham --- Reading git-diff-tree failed