commit | 3119cbda858fc9ae10a69919e5f278abd6d93bb5 | [log] [tgz] |
---|---|---|
author | Jamie Iles <jamie@jamieiles.com> | Tue Jan 11 12:43:50 2011 +0000 |
committer | Chris Ball <cjb@laptop.org> | Tue Jan 25 21:53:51 2011 -0500 |
tree | 0ac3212b916871cb979e4bf4d454d95988b96b4b | |
parent | 9047b435a0b43952f5d1f7eb15a9b63a36efc7f2 [diff] |
mmc: jz4740: don't treat NULL clk as an error clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Chris Ball <cjb@laptop.org>