mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 13:30:05 +01:00
evdev_device_suspend() is a void function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
5e93fa2b04
commit
ea02e2b95a
2 changed files with 2 additions and 4 deletions
|
|
@ -2865,7 +2865,7 @@ evdev_notify_resumed_device(struct evdev_device *device)
|
|||
device->suspended = 0;
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
evdev_device_suspend(struct evdev_device *device)
|
||||
{
|
||||
struct libinput *libinput = evdev_libinput_context(device);
|
||||
|
|
@ -2890,8 +2890,6 @@ evdev_device_suspend(struct evdev_device *device)
|
|||
close_restricted(libinput, device->fd);
|
||||
device->fd = -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -415,7 +415,7 @@ double
|
|||
evdev_device_transform_y(struct evdev_device *device,
|
||||
double y,
|
||||
uint32_t height);
|
||||
int
|
||||
void
|
||||
evdev_device_suspend(struct evdev_device *device);
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue