File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 11/*
22 * Strato Pi Fan kernel module
33 *
4- * Copyright (C) 2021 Sfera Labs S.r.l.
4+ * Copyright (C) 2021-2023 Sfera Labs S.r.l.
55 *
66 * For information, visit https://www.sferalabs.cc
77 *
2222MODULE_LICENSE ("GPL" );
2323MODULE_AUTHOR ("Sfera Labs - http://sferalabs.cc" );
2424MODULE_DESCRIPTION ("Strato Pi Fan driver module" );
25- MODULE_VERSION ("1.0 " );
25+ MODULE_VERSION ("1.1 " );
2626
2727struct DeviceAttrBean {
2828 struct device_attribute devAttr ;
@@ -224,12 +224,6 @@ static int stratopifan_i2c_probe(struct i2c_client *client,
224224 return 0 ;
225225}
226226
227- static int stratopifan_i2c_remove (struct i2c_client * client ) {
228- printk (KERN_INFO "stratopifan: - | i2c remove addr 0x%02hx\n" ,
229- client -> addr );
230- return 0 ;
231- }
232-
233227const struct of_device_id stratopifan_of_match [] = {
234228 { .compatible = "sferalabs,stratopifan" , },
235229 { },
@@ -249,7 +243,6 @@ static struct i2c_driver stratopifan_i2c_driver = {
249243 .of_match_table = of_match_ptr (stratopifan_of_match ),
250244 },
251245 .probe = stratopifan_i2c_probe ,
252- .remove = stratopifan_i2c_remove ,
253246 .id_table = stratopifan_i2c_id ,
254247};
255248
You can’t perform that action at this time.
0 commit comments