pwm: samsung: add missing device pointer to struct pwm_chip
authorJingoo Han <jg1.han@samsung.com>
Thu, 2 Aug 2012 08:55:54 +0000 (17:55 +0900)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 17 Aug 2012 12:08:24 +0000 (14:08 +0200)
commitecefeb79218064bf011c5d3ff25322ffa60c302c
treef05f66fc835d04ba8e040d6fcfc2a5bc139877d9
parentdfeb86ecde7ae6ce15bd69a6a205b5e13aea8111
pwm: samsung: add missing device pointer to struct pwm_chip

This patch adds missing device pointer to struct pwm_chip. If the
device pointer is NULL, pwmchip_add() will return error.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-samsung.c