Gabriel Krisman Bertazi
11b3c20bdd
drm: Change the return type of the unload hook to void
...
The integer returned by the unload hook is ignored by the drm core, so
let's make it void.
This patch was created using the following Coccinelle semantic script
(except for the declaration and comment in drm_drv.h):
Compile-tested only.
// <smpl>
@ get_name @
struct drm_driver drv;
identifier fn;
@@
drv.unload = fn;
@ replace_type @
identifier get_name.fn;
@@
- int
+ void
fn (...)
{
...
}
@ remove_return_param @
identifier get_name.fn;
@@
void fn (...)
{
<...
if (...)
return
- ...
;
...>
}
@ drop_final_return @
identifier get_name.fn;
@@
void fn (...)
{
...
- return 0;
}
// </smpl>
Suggested-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Acked-by: Christian König <christian.koenig@amd.com>.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170106175731.29196-1-krisman@collabora.co.uk
2017-01-09 11:25:22 +01:00
..
2016-11-30 14:18:51 +10:00
2016-10-25 14:38:45 -04:00
2016-09-22 10:30:36 -04:00
2016-09-19 20:58:35 +03:00
2016-09-19 20:58:35 +03:00
2016-09-22 10:24:16 -04:00
2016-02-27 22:52:40 +02:00
2016-10-25 14:38:56 -04:00
2016-10-25 14:38:56 -04:00
2016-11-29 09:23:39 -05:00
2016-10-25 14:40:39 +02:00
2016-12-08 14:09:05 -05:00
2016-11-11 10:20:04 -05:00
2016-12-06 18:08:24 -05:00
2016-11-30 14:18:51 +10:00
2016-12-06 18:08:32 -05:00
2016-10-28 11:33:52 +10:00
2016-12-09 12:29:10 +10:00
2016-12-15 14:03:30 +02:00
2016-10-25 14:38:41 -04:00
2016-11-11 10:21:01 -05:00
2016-12-06 11:01:33 +10:00
2015-08-17 16:50:21 -04:00
2016-12-15 14:55:33 +02:00
2016-11-11 10:20:58 -05:00
2016-10-25 14:38:13 -04:00
2016-08-19 12:30:58 -04:00
2016-10-25 14:38:30 -04:00
2016-10-25 14:38:58 -04:00
2016-10-25 14:38:58 -04:00
2016-12-30 12:08:28 +01:00
2016-10-06 12:39:03 -04:00
2016-09-27 13:00:52 -04:00
2016-10-28 11:33:52 +10:00
2016-09-14 15:10:27 -04:00
2016-12-18 14:18:12 +01:00
2016-11-23 15:08:43 -05:00
2016-10-25 14:40:39 +02:00
2017-01-09 11:25:22 +01:00
2016-10-25 14:38:26 -04:00
2016-12-18 16:29:29 +05:30
2016-11-23 15:08:45 -05:00
2016-10-28 11:33:52 +10:00
2016-09-14 15:10:37 -04:00
2016-11-11 10:20:56 -05:00
2016-11-23 15:08:46 -05:00
2016-10-25 14:38:45 -04:00
2016-11-11 10:20:04 -05:00
2016-10-25 14:38:38 -04:00
2016-11-11 10:20:58 -05:00
2016-11-11 10:21:07 -05:00
2016-10-25 14:40:39 +02:00
2016-10-28 11:33:52 +10:00
2016-10-25 14:40:39 +02:00
2016-10-25 14:40:39 +02:00
2016-12-30 12:08:28 +01:00
2016-10-28 11:33:52 +10:00
2016-10-25 14:38:23 -04:00
2016-10-25 14:38:23 -04:00
2016-11-23 15:08:47 -05:00
2016-10-25 14:40:39 +02:00
2016-10-28 11:33:52 +10:00
2016-10-28 11:33:52 +10:00
2016-09-22 10:24:20 -04:00
2016-11-23 15:08:46 -05:00
2016-10-28 11:33:52 +10:00
2016-12-30 12:08:28 +01:00
2017-01-09 11:25:22 +01:00
2015-10-14 16:16:24 -04:00
2016-05-11 12:31:20 -04:00
2016-10-25 14:38:58 -04:00
2016-05-04 20:23:53 -04:00
2016-08-08 13:28:39 -04:00
2016-07-14 16:46:06 -04:00
2016-09-14 15:10:37 -04:00
2016-07-14 16:39:35 -04:00
2016-12-06 18:08:25 -05:00
2016-07-07 14:50:49 -04:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2016-10-28 11:33:52 +10:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:56 -04:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:08 -04:00
2016-11-23 15:08:39 -05:00
2016-01-13 12:12:43 -05:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2016-09-22 10:24:16 -04:00
2016-05-11 12:31:20 -04:00
2016-12-15 14:55:34 +02:00
2016-10-25 14:38:45 -04:00
2016-12-15 14:55:34 +02:00
2016-10-25 14:38:45 -04:00
2016-12-15 14:55:34 +02:00
2016-10-25 14:38:45 -04:00
2016-12-15 14:55:34 +02:00
2016-10-25 14:38:45 -04:00
2016-12-06 10:26:48 +01:00
2016-10-25 14:38:45 -04:00
2016-12-08 14:12:17 -05:00
2016-10-25 14:38:45 -04:00
2016-12-08 14:12:18 -05:00
2016-10-25 14:38:45 -04:00
2016-12-08 14:12:17 -05:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:21 -05:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:21 -05:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:21 -05:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2016-10-04 11:15:59 -04:00
2016-11-11 10:21:01 -05:00
2016-10-25 14:38:16 -04:00
2016-10-25 14:38:06 -04:00
2016-07-15 12:33:31 -04:00
2016-08-31 15:21:09 -04:00
2016-11-23 15:08:41 -05:00
2016-10-25 14:38:45 -04:00
2016-11-23 15:08:41 -05:00
2016-10-25 14:38:45 -04:00
2016-10-28 11:33:52 +10:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:40 -05:00
2016-08-31 15:21:09 -04:00
2016-11-23 15:08:42 -05:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2016-09-14 15:10:40 -04:00
2016-10-25 14:38:58 -04:00
2016-10-25 14:38:45 -04:00
2016-09-28 16:13:17 -04:00
2016-05-04 20:26:26 -04:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2016-11-15 12:36:36 -05:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:23 -05:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:23 -05:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2016-10-25 14:38:45 -04:00
2016-12-06 18:08:26 -05:00
2016-10-25 14:38:45 -04:00
2015-08-17 16:50:26 -04:00
2016-12-06 18:08:26 -05:00
2016-10-25 14:38:45 -04:00
2016-09-19 14:38:25 -04:00