Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Nov 2012 16:12:05 +0000 (08:12 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 Nov 2012 17:30:03 +0000 (09:30 -0800)
commitcdbe8a86379b9002598a4d14791dc8e790b1f5f5
treec1758f954246d3fe4fd9b0229043fc2245842b52
parentefce8a412161b0555254bd6ac1dcdfb7886bfd8c
Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data

We need to use proper accessor functions instead of directly poking into
various structures.

Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca8418_keypad.c