mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
drivers: remove unimplemented open/close/ioctl interfaces
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
6041a2f0db
commit
09b3fb25ab
+1
-1
@@ -1915,7 +1915,7 @@ int mxt_register(FAR struct i2c_master_s *i2c,
|
||||
|
||||
/* Register the device as an input device */
|
||||
|
||||
snprintf(devname, DEV_NAMELEN, DEV_FORMAT, minor);
|
||||
snprintf(devname, sizeof(devname), DEV_FORMAT, minor);
|
||||
iinfo("Registering %s\n", devname);
|
||||
|
||||
ret = register_driver(devname, &mxt_fops, 0666, priv);
|
||||
|
||||
Reference in New Issue
Block a user