Tero Kristo
c807dbedb5
clk: ti: fix ti_clk_get_reg_addr error handling
...
There is a case where NULL can be a valid return value for
ti_clk_get_reg_addr, specifically the case where both the provider index
and register offsets are zero. In this case, the current error checking
against a NULL pointer will fail. Thus, change the API to return a
ERR_PTR value in an error case, and change all the users of this API to
check against IS_ERR instead.
Signed-off-by: Tero Kristo <t-kristo@ti.com >
Acked-by: Michael Turquette <mturquette@linaro.org >
2015-03-24 20:23:36 +02:00
..
2015-02-21 13:40:41 -08:00
2015-02-10 10:23:15 +00:00
2015-02-12 14:30:53 -08:00
2015-02-15 11:11:47 -08:00
2015-02-20 22:12:02 -08:00
2015-02-15 11:37:02 -08:00
2015-02-17 09:27:54 -08:00
2015-02-19 20:58:42 -06:00
2015-03-24 20:23:36 +02:00
2015-02-17 09:27:54 -08:00
2015-02-21 13:40:41 -08:00
2015-02-21 04:29:16 +01:00
2015-02-18 08:49:20 -08:00
2015-02-13 21:39:06 +01:00
2015-02-18 08:49:20 -08:00
2015-02-19 11:18:14 -08:00
2015-02-21 10:41:29 -08:00
2015-02-12 08:51:56 -08:00
2015-02-16 15:48:00 -08:00
2015-02-09 11:17:45 +01:00
2015-02-15 10:48:44 -08:00
2015-02-19 10:36:45 -08:00
2015-02-21 12:41:50 -08:00
2015-02-15 19:40:09 +01:00
2015-02-19 10:36:45 -08:00
2015-02-22 17:42:14 -08:00
2015-02-21 12:59:04 -08:00
2015-02-12 09:16:56 -08:00
2015-02-21 19:41:38 -08:00
2015-02-19 10:36:45 -08:00
2015-02-18 09:24:01 -08:00
2015-02-11 12:56:40 -08:00
2015-02-21 13:28:45 -08:00
2015-02-11 17:06:05 -08:00
2015-02-18 09:05:48 -08:00
2015-02-15 10:48:44 -08:00
2015-02-21 12:30:30 -08:00
2015-02-18 08:01:44 -08:00
2015-02-19 10:36:45 -08:00
2015-02-18 09:43:46 -08:00
2015-02-19 10:36:45 -08:00
2015-02-17 09:38:59 -08:00
2015-02-15 10:24:55 -08:00
2015-02-11 11:23:13 -08:00
2015-02-21 11:12:07 -08:00
2015-02-21 04:29:16 +01:00
2015-02-18 08:40:29 +01:00
2015-02-18 08:49:20 -08:00
2015-02-18 09:05:48 -08:00
2015-02-19 10:36:45 -08:00
2015-02-13 09:55:09 -08:00
2015-02-21 19:16:42 -08:00
2015-02-17 09:38:59 -08:00
2015-02-19 10:36:45 -08:00
2015-02-11 14:38:29 -08:00
2015-02-22 17:42:14 -08:00
2015-02-21 13:21:19 -08:00
2015-02-20 21:57:02 +08:00
2015-02-19 10:36:45 -08:00
2015-02-19 10:36:45 -08:00
2015-02-15 10:24:55 -08:00
2015-02-10 12:38:14 -07:00
2015-02-21 13:21:19 -08:00
2015-02-11 17:06:05 -08:00
2015-02-17 16:19:29 +10:30
2015-02-17 21:34:13 +01:00
2015-02-11 10:28:45 -08:00