LABBE Corentin 8d0a69d735 clk: palmas: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer
dereference later.
Even if the probability of this case is very low, fixing it made
static analyzers happy.

Solving this with of_device_get_match_data made also code simplier.

Reported-by: coverity (CID 1324137)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-01-29 16:57:09 -08:00
..
2015-12-29 15:32:24 -05:00
2016-01-22 18:04:28 -05:00
2016-01-20 18:42:30 -08:00
2016-01-20 17:55:20 -08:00
2016-01-15 13:18:47 -08:00
2016-01-20 10:15:21 -08:00
2016-01-01 18:31:34 +01:00
2016-01-20 17:30:20 -08:00
2016-01-13 10:23:36 -08:00
2016-01-19 09:35:06 -08:00
2016-01-12 12:17:28 +01:00
2016-01-20 18:42:30 -08:00
2016-01-22 12:04:21 -08:00
2016-01-14 11:13:28 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
2015-12-26 17:01:18 -08:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-18 12:10:45 -08:00
2016-01-18 16:44:24 -08:00
2016-01-15 13:18:47 -08:00
2016-01-20 18:42:30 -08:00
2016-01-22 18:04:28 -05:00
2016-01-18 16:44:24 -08:00