Input: lm8323 - add missing device_remove_file for dev_attr_time
authorAxel Lin <axel.lin@gmail.com>
Sat, 30 Jul 2011 19:05:13 +0000 (12:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 30 Jul 2011 19:18:57 +0000 (12:18 -0700)
commit52db9819ac96b0c5a4e075d836cf21dc529cbce4
tree472b517df553cd4033cda36bbd34acd386a88c98
parent3f27757a1182f5e3feff7425b1c3e43f3e466724
Input: lm8323 - add missing device_remove_file for dev_attr_time

Add missing device_remove_file() for dev_attr_time in lm8323_remove().
Also calling device_remove_file() in lm8323_probe() error path to
remove sysfs attribute file.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/lm8323.c