[PATCH 2/3] extcon: max77693: Fix bug of wrong pointer when platform data is not used

2013-03-13 Thread Chanwoo Choi
This patch fix wrong pointer of platform data. If each machine set platform data for h/w path or delay time of workqueue, this driver happen kernel panic related to null pointer. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max77693.c | 90

[PATCH 2/3] extcon: max77693: Fix bug of wrong pointer when platform data is not used

2013-03-13 Thread Chanwoo Choi
This patch fix wrong pointer of platform data. If each machine set platform data for h/w path or delay time of workqueue, this driver happen kernel panic related to null pointer. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com ---