linux/drivers/clk/at91
Vladimir Zapolskiy cb0ceaf77d clk: at91: fix check of clk_register() returned value
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>
2016-04-15 16:57:09 -07:00
..
clk-generated.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-h32mx.c clk: at91: fix check of clk_register() returned value 2016-04-15 16:57:09 -07:00
clk-main.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-master.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-peripheral.c clk: at91: remove useless includes 2016-02-17 17:53:04 +01:00
clk-pll.c clk: at91: remove IRQ handling and use polling 2016-02-17 17:52:59 +01:00
clk-plldiv.c clk: at91: remove useless includes 2016-02-17 17:53:04 +01:00
clk-programmable.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-slow.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-smd.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-system.c clk: at91: remove IRQ handling and use polling 2016-02-17 17:52:59 +01:00
clk-usb.c The clk changes for this release cycle are mostly dominated by 2016-03-23 06:06:45 -07:00
clk-utmi.c clk: at91: remove IRQ handling and use polling 2016-02-17 17:52:59 +01:00
Makefile clk: at91: add generated clock driver 2015-10-01 12:48:11 -07:00
pmc.c clk: at91: pmc: remove useless capacities handling 2016-02-17 17:53:04 +01:00
pmc.h clk: at91: pmc: move pmc structures to C file 2016-02-17 17:53:00 +01:00
sckc.c clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00
sckc.h clk: at91: add slow clks driver 2014-05-07 18:27:45 +02:00