Minor changes

This commit is contained in:
Loic Guegan 2023-08-13 16:11:03 +02:00
parent fa26bf63fe
commit df5428faf5
5 changed files with 6 additions and 5 deletions

1
inahwmon.c Normal file → Executable file
View file

@ -63,6 +63,7 @@ static int ina260_probe_new(struct i2c_client *client){
}
static int ina260_remove(struct i2c_client *client){
printk("Unregister client...\n");
hwmon_device_unregister(&client->dev);
return 0;
}