On Wed, 14 Nov 2012 08:48:05 -0800 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > We need to use proper accessor functions instead of directly poking into > various structures. > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Reviewed-by: Alban Bedel <alban.bedel@xxxxxxxxxxxxxxxxx> > --- > drivers/input/keyboard/tca8418_keypad.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/keyboard/tca8418_keypad.c b/drivers/input/keyboard/tca8418_keypad.c > index 4618ce0..7f2869f 100644 > --- a/drivers/input/keyboard/tca8418_keypad.c > +++ b/drivers/input/keyboard/tca8418_keypad.c > @@ -283,7 +283,7 @@ static int __devinit tca8418_keypad_probe(struct i2c_client *client, > { > struct device *dev = &client->dev; > const struct tca8418_keypad_platform_data *pdata = > - client->dev.platform_data; > + dev_get_platdata(dev); > struct tca8418_keypad *keypad_data; > struct input_dev *input; > const struct matrix_keymap_data *keymap_data = NULL; -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html