static int __devexit ina230_remove(struct i2c_client *client) { u8 i; struct ina230_data *data = i2c_get_clientdata(client); unregister_hotcpu_notifier(&(data->nb)); power_down_ina230(client); hwmon_device_unregister(data->hwmon_dev); for (i = 0; i < ARRAY_SIZE(ina230); i++) device_remove_file(&client->dev, &ina230[i].dev_attr); return 0; }
static int ina230_suspend(struct i2c_client *client) { return power_down_ina230(client); }
static int ina230_suspend(struct i2c_client *client) { printk(KERN_INFO "[BPC] ina230_suspend\n"); return power_down_ina230(client); }
static int ina230_suspend(struct i2c_client *client, pm_message_t mesg) { return power_down_ina230(client); }