--- zzzz-none-000/linux-3.10.107/drivers/input/keyboard/tca6416-keypad.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/input/keyboard/tca6416-keypad.c 2021-02-04 17:41:59.000000000 +0000 @@ -213,7 +213,7 @@ return -ENODEV; } - pdata = client->dev.platform_data; + pdata = dev_get_platdata(&client->dev); if (!pdata) { dev_dbg(&client->dev, "no platform data\n"); return -EINVAL;