drivers: sh: pm_runtime does not need idle callback
authorBen Dooks <ben.dooks@codethink.co.uk>
Thu, 22 May 2014 18:00:04 +0000 (20:00 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:32 +0000 (11:14 +0100)
commit778c43ee04bfab0f7a7fb538d3ad039d9d72e17e
tree166a6205a41b50add8a2cea230115d1d2c94b689
parente171ec099fa31c27e7d40ec10f08be1510f94c11
drivers: sh: pm_runtime does not need idle callback

In the runtime_pm idle callback the code assumes that a NULL .runtime_idle
entry is the same as a .runtime_idle entry that returns 0 as a result. This
means the entry in drivers/sh/pm_runtime can be removed in favour of just
leaving the entry NULL.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [r8a7779 legacy]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit fe95c932a31e7f12bcb6a4e07434462da2ac6e1d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/sh/pm_runtime.c