input/djoystick: Remove the unused config field from djoy_lowerhalf_s
the private data should be done like this: struct xxx_lowerhalf_s { struct djoy_lowerhalf_s lower; /* Add more private data here */ }; Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
0961f12e28
commit
b0e6a6e081
|
@ -220,12 +220,6 @@ struct djoy_lowerhalf_s
|
|||
CODE void (*dl_enable)(FAR const struct djoy_lowerhalf_s *lower,
|
||||
djoy_buttonset_t press, djoy_buttonset_t release,
|
||||
djoy_interrupt_t handler, FAR void *arg);
|
||||
|
||||
/* Allow for storing implementation specific data to support cases where
|
||||
* their may be more than one joystick
|
||||
*/
|
||||
|
||||
FAR void *config;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue