MODULE_DEVICE_TABLE(of, gpio_backlight_of_match);
#endif
+static int gpio_backlight_suspend(struct device *dev)
+{
+ return 0;
+}
+
+static int gpio_backlight_resume(struct device *dev)
+{
+ return 0;
+}
+
+static const struct dev_pm_ops mipi_dsi_pm_ops = {
+ .suspend = gpio_backlight_suspend,
+ .resume = gpio_backlight_resume,
+};
+
static struct platform_driver gpio_backlight_driver = {
.driver = {
.name = "gpio-backlight",
.of_match_table = of_match_ptr(gpio_backlight_of_match),
+ .pm = &mipi_dsi_pm_ops,
},
.probe = gpio_backlight_probe,
};