mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
gpio: cdev: remove leftover function pointer typedefs
The locking wrappers were replaces with lock guards. These typedefs are no longer needed. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Kent Gibson <warthog618@gmail.com>
This commit is contained in:
parent
42969726a1
commit
83a517c777
|
|
@ -61,11 +61,6 @@ static_assert(IS_ALIGNED(sizeof(struct gpio_v2_line_values), 8));
|
|||
* interface to gpiolib GPIOs via ioctl()s.
|
||||
*/
|
||||
|
||||
typedef __poll_t (*poll_fn)(struct file *, struct poll_table_struct *);
|
||||
typedef long (*ioctl_fn)(struct file *, unsigned int, unsigned long);
|
||||
typedef ssize_t (*read_fn)(struct file *, char __user *,
|
||||
size_t count, loff_t *);
|
||||
|
||||
/*
|
||||
* GPIO line handle management
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user