Johan Hovold
d9966f1de9
staging: greybus: arche-platform: fix device reference leak
...
Make sure to drop the device reference taken by of_find_device_by_node()
before returning from arche_platform_change_state().
Note that this code is expected to be removed, but let's fix up the leak
nonetheless.
Fixes: 886aba558b9e ("greybus: arche-platform: Export fn to allow...")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Vaibhav Hiremath <hvaibhav.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-07 11:45:42 +01:00
..
2016-09-19 12:40:33 +02:00
2016-09-19 12:37:09 +02:00
2016-06-06 20:37:47 -07:00
2016-09-23 14:11:46 +02:00
2016-11-07 11:45:42 +01:00
2016-08-26 13:21:13 +02:00
2016-08-03 10:59:13 +02:00
2016-08-03 10:59:13 +02:00
2016-09-22 11:54:47 +02:00
2016-09-20 13:24:46 +02:00
2016-09-20 13:24:46 +02:00
2016-04-05 09:39:22 -04:00
2016-01-13 16:12:56 -08:00
2016-04-05 09:39:22 -04:00
2016-05-18 16:33:31 -07:00
2016-04-05 09:39:22 -04:00
2016-09-19 16:52:07 +02:00
2016-09-27 12:59:51 +02:00
2016-07-26 15:29:00 -07:00
2016-07-28 07:30:13 -07:00
2016-09-19 16:52:07 +02:00
2016-09-19 16:52:07 +02:00
2016-09-22 11:54:47 +02:00
2016-08-26 13:21:13 +02:00
2016-06-24 16:22:30 -07:00
2016-08-11 14:13:07 +02:00
2016-07-21 16:36:48 -07:00
2016-07-21 18:54:11 -07:00
2016-02-11 21:44:17 -08:00
2016-10-24 15:51:00 +02:00
2016-08-12 17:38:19 +02:00
2016-09-19 16:43:27 +02:00
2016-08-12 17:38:19 +02:00
2016-08-12 17:38:19 +02:00
2016-07-17 10:31:21 +09:00
2016-09-19 16:52:07 +02:00
2016-09-19 16:52:07 +02:00
2016-10-17 09:14:55 +02:00
2016-07-06 17:51:32 -05:00
2016-08-12 17:38:19 +02:00
2016-06-09 17:28:02 -07:00
2016-07-06 17:51:32 -05:00
2016-09-02 14:13:39 +02:00
2016-06-09 12:12:43 -07:00
2016-09-19 16:52:07 +02:00
2016-07-16 07:58:52 +09:00
2016-08-26 13:21:13 +02:00
2016-09-19 16:30:41 +02:00
2016-07-14 16:53:55 -05:00
2016-09-19 16:52:07 +02:00
2016-07-28 07:30:13 -07:00
2016-09-21 12:35:13 +02:00
2016-10-02 15:49:26 +02:00
2016-06-24 15:46:52 -07:00
2016-09-23 19:00:43 +02:00
2016-09-19 16:49:53 +02:00
2016-09-27 12:59:51 +02:00
2015-04-06 12:05:58 +02:00
2016-10-24 15:51:00 +02:00
2016-04-25 11:08:30 -07:00
2016-07-26 14:53:19 -07:00
2016-05-27 12:21:16 -07:00
2016-09-19 16:48:44 +02:00
2016-07-14 16:53:55 -05:00
2016-03-03 10:02:48 -08:00
2016-10-02 15:49:25 +02:00
2016-09-19 16:43:27 +02:00
2016-09-19 16:43:27 +02:00
2016-07-21 19:03:05 -07:00
2016-08-03 10:59:13 +02:00
2016-08-26 13:21:13 +02:00
2016-07-26 20:58:37 -07:00
2016-09-27 12:59:51 +02:00
2016-08-03 10:59:13 +02:00
2016-06-06 20:50:08 -07:00
2016-10-17 09:14:55 +02:00
2016-05-31 22:02:58 -07:00
2016-09-19 16:30:41 +02:00