mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
input: pmic8xxx-keypad: Do not use mfd_get_data()
mfd_get_data() has been removed from the MFD API. Cc: Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
fe0d42203c
commit
1d08382a0e
@ -520,7 +520,8 @@ static void pmic8xxx_kp_close(struct input_dev *dev)
|
||||
*/
|
||||
static int __devinit pmic8xxx_kp_probe(struct platform_device *pdev)
|
||||
{
|
||||
const struct pm8xxx_keypad_platform_data *pdata = mfd_get_data(pdev);
|
||||
const struct pm8xxx_keypad_platform_data *pdata =
|
||||
dev_get_platdata(&pdev->dev);
|
||||
const struct matrix_keymap_data *keymap_data;
|
||||
struct pmic8xxx_kp *kp;
|
||||
int rc;
|
||||
|
Loading…
Reference in New Issue
Block a user