drm/pl111: add of_node_put()
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20181121131723.22431-1-tiny.windzz@gmail.com
This commit is contained in:
Родитель
08f73d6680
Коммит
45fdfdb647
|
@ -55,6 +55,8 @@ int pl111_vexpress_clcd_init(struct device *dev,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
of_node_put(root);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If there is a coretile HDLCD and it has a driver,
|
* If there is a coretile HDLCD and it has a driver,
|
||||||
* do not mux the CLCD on the motherboard to the DVI.
|
* do not mux the CLCD on the motherboard to the DVI.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче