Input: tca8418_keypad - use a temporary variable for parent device
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Nov 2012 16:06:44 +0000 (08:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 Nov 2012 17:29:17 +0000 (09:29 -0800)
commitefce8a412161b0555254bd6ac1dcdfb7886bfd8c
tree57f388150e5aea913b1f6b5f9c3c4601b9b7fe6c
parentbf7f5316cbacbcb7d3c337eba36322cab255dec0
Input: tca8418_keypad - use a temporary variable for parent device

Use a temporary variable for our parent device (coming from I2C client
structure); we'll be also using it during conversion to managed resources.

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