mirror of
https://gitlab.com/manzerbredes/ina260-sysfs-driver.git
synced 2025-05-02 09:57:47 +00:00
Minor changes
This commit is contained in:
parent
fa26bf63fe
commit
df5428faf5
5 changed files with 6 additions and 5 deletions
1
inahwmon.c
Normal file → Executable file
1
inahwmon.c
Normal file → Executable 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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue