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:
Peter Hutterer 2016-07-13 07:39:59 +10:00
parent 5e93fa2b04
commit ea02e2b95a
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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