Files
linux/drivers/clk/at91
Vladimir Zapolskiy 4ee87930e4 clk: at91: fix check of clk_register() returned value
commit cb0ceaf77d upstream.

The clk_register() function returns a valid pointer to struct clk or
ERR_PTR() error code, this makes a check for returned NULL value
useless and may lead to oops on error path.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: bcc5fd49a0 ("clk: at91: add a driver for the h32mx clock")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-07 18:14:34 -07:00
..
2013-12-02 15:31:22 +01:00
2015-10-01 12:48:11 -07:00
2015-10-01 12:48:11 -07:00
2015-10-01 12:48:11 -07:00
2014-05-07 18:27:45 +02:00
2014-05-07 18:27:45 +02:00