Peng Hao ba5e60c9b7 arm/mach-at91/pm : fix possible object reference leak
of_find_device_by_node() takes a reference to the struct device
when it finds a match via get_device. When returning error we should
call put_device.

Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
2019-04-04 12:00:24 +02:00
..
2019-03-17 13:25:26 -07:00
2019-03-15 14:37:46 -07:00
2019-03-15 14:37:46 -07:00
2019-03-10 11:54:48 -07:00
2019-03-15 14:37:46 -07:00
2018-12-31 13:09:39 -08:00
2019-03-15 14:37:46 -07:00
2019-03-15 14:37:46 -07:00
2019-01-26 13:33:02 -08:00
2019-03-04 10:50:14 -08:00
2019-03-15 14:37:46 -07:00
2018-12-12 13:52:48 -08:00
2019-03-15 14:37:46 -07:00