aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2016-11-01 10:55:02 +0000
committerGreg Kroah-Hartman <[email protected]>2016-11-07 10:45:42 +0000
commitd9966f1de990577b49903061cfcea2d1e85353fb (patch)
treeab1469c8b0f68f0286fb9a356c118a4f2441ae4a /drivers/fpga/altera-fpga2sdram.c
parentstaging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value (diff)
downloadkernel-d9966f1de990577b49903061cfcea2d1e85353fb.tar.gz
kernel-d9966f1de990577b49903061cfcea2d1e85353fb.zip
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 <[email protected]> Acked-by: Viresh Kumar <[email protected]> Reviewed-by: Vaibhav Hiremath <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions