diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2014-01-14 19:43:27 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-04 06:28:32 +0100 |
commit | ca1187521b78ce4f980cd1b457f8c634dd401021 (patch) | |
tree | e787e24ccff17d81e6b96329a0df5cffc994ee25 /arch/arm/mach-shmobile/board-lager.c | |
parent | ARM: shmobile: lager: fix error return code check from clk_get() (diff) | |
download | linux-ca1187521b78ce4f980cd1b457f8c634dd401021.tar.xz linux-ca1187521b78ce4f980cd1b457f8c634dd401021.zip |
ARM: shmobile: koelsch: fix error return code check from clk_get()
The koelsch_add_standard_devices() function calls clk_get() but then fails
to check that it returns an error pointer instead of NULL on failure.
This was added by f31239ef ("ARM: shmobile: koelsch-reference:
Instantiate clkdevs for SCIF and CMT") in Simon Horman's
renesas-boards2-for-v3.14 tag.
The issue is not serious as it does not cause a crash and seems to not be
actually causing any issues now the other clock bugs have been fixed.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[horms+renesas@verge.net.au: tweaked changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-lager.c')
0 files changed, 0 insertions, 0 deletions