return usb4604_probe(hub);
 }
 
-#ifdef CONFIG_PM_SLEEP
-static int usb4604_i2c_suspend(struct device *dev)
+static int __maybe_unused usb4604_i2c_suspend(struct device *dev)
 {
        struct i2c_client *client = to_i2c_client(dev);
        struct usb4604 *hub = i2c_get_clientdata(client);
        return 0;
 }
 
-static int usb4604_i2c_resume(struct device *dev)
+static int __maybe_unused usb4604_i2c_resume(struct device *dev)
 {
        struct i2c_client *client = to_i2c_client(dev);
        struct usb4604 *hub = i2c_get_clientdata(client);
 
        return 0;
 }
-#endif
 
 static SIMPLE_DEV_PM_OPS(usb4604_i2c_pm_ops, usb4604_i2c_suspend,
                usb4604_i2c_resume);
 static struct i2c_driver usb4604_i2c_driver = {
        .driver = {
                .name = "usb4604",
-               .pm = &usb4604_i2c_pm_ops,
+               .pm = pm_ptr(&usb4604_i2c_pm_ops),
                .of_match_table = of_match_ptr(usb4604_of_match),
        },
        .probe          = usb4604_i2c_probe,