From: Peter Hutterer Date: Tue, 12 Jul 2016 21:39:59 +0000 (+1000) Subject: evdev_device_suspend() is a void function X-Git-Tag: 1.4.901~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea02e2b95a5924b976976d0e91cb43bfbe97f20c;p=platform%2Fupstream%2Flibinput.git evdev_device_suspend() is a void function Signed-off-by: Peter Hutterer Reviewed-by: Yong Bakos Reviewed-by: Eric Engestrom --- diff --git a/src/evdev.c b/src/evdev.c index 1a0759b..3a7eda1 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -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 diff --git a/src/evdev.h b/src/evdev.h index f9c0dd1..f1133ee 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -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