This patch clean up coding style for extcon-sm5502 driver and fix wrong mask
operation to get cable_type value.

Changes from v1:
- Split previous patch as two patch(patch1 and patch2)
- Add I2C dependency to protect build brak when I2C=m

Chanwoo Choi (4):
  extcon: sm5502: Move sm5502.h header file to extcon directory
  extcon: sm5502: Fix bug to check cable type
  extcon: sm5502: Clean up codes by using checkpatch script
  extcon: sm5502: Add I2C dependency to fix build break

 drivers/extcon/Kconfig         |   1 +
 drivers/extcon/extcon-sm5502.c |  19 +--
 drivers/extcon/extcon-sm5502.h | 282 ++++++++++++++++++++++++++++++++++++++++
 include/linux/extcon/sm5502.h  | 287 -----------------------------------------
 4 files changed, 290 insertions(+), 299 deletions(-)
 create mode 100644 drivers/extcon/extcon-sm5502.h
 delete mode 100644 include/linux/extcon/sm5502.h

-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to