Merge tag 'v5.1' into next
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 May 2019 18:43:46 +0000 (11:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 May 2019 18:43:46 +0000 (11:43 -0700)
Sync up with mainline to bring in the latest APIs.

1  2 
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/hid/hid-input.c
drivers/input/keyboard/Kconfig
drivers/input/keyboard/snvs_pwrkey.c
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/touchscreen/Kconfig
include/uapi/linux/input-event-codes.h

Simple merge
Simple merge
@@@ -164,13 -166,29 +167,10 @@@ static int imx_snvs_pwrkey_probe(struc
                return error;
        }
  
-       pdata->input = input;
-       platform_set_drvdata(pdev, pdata);
        device_init_wakeup(&pdev->dev, pdata->wakeup);
 -
 -      return 0;
 -}
 -
 -static int __maybe_unused imx_snvs_pwrkey_suspend(struct device *dev)
 -{
 -      struct platform_device *pdev = to_platform_device(dev);
 -      struct pwrkey_drv_data *pdata = platform_get_drvdata(pdev);
 -
 -      if (device_may_wakeup(&pdev->dev))
 -              enable_irq_wake(pdata->irq);
 -
 -      return 0;
 -}
 -
 -static int __maybe_unused imx_snvs_pwrkey_resume(struct device *dev)
 -{
 -      struct platform_device *pdev = to_platform_device(dev);
 -      struct pwrkey_drv_data *pdata = platform_get_drvdata(pdev);
 -
 -      if (device_may_wakeup(&pdev->dev))
 -              disable_irq_wake(pdata->irq);
 +      error = dev_pm_set_wake_irq(&pdev->dev, pdata->irq);
 +      if (error)
 +              dev_err(&pdev->dev, "irq wake enable failed.\n");
  
        return 0;
  }
Simple merge
Simple merge
Simple merge