diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-01-11 12:43:50 +0000 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-25 21:53:51 -0500 |
commit | 3119cbda858fc9ae10a69919e5f278abd6d93bb5 (patch) | |
tree | 0ac3212b916871cb979e4bf4d454d95988b96b4b /drivers/mmc/host/sdhci-s3c.c | |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-s3c.c')
0 files changed, 0 insertions, 0 deletions