static int pcf50633_suspend(struct device *dev) { struct i2c_client *client = to_i2c_client(dev); struct pcf50633 *pcf = i2c_get_clientdata(client); return pcf50633_irq_suspend(pcf); }
static int pcf50633_suspend(struct i2c_client *client, pm_message_t state) { struct pcf50633 *pcf; pcf = i2c_get_clientdata(client); return pcf50633_irq_suspend(pcf); }