• D
    clk: add clk_bulk_get accessories · 266e4e9d
    Dong Aisheng 提交于
    These helper function allows drivers to get several clk consumers in
    one operation. If any of the clk cannot be acquired then any clks
    that were got will be put before returning to the caller.
    
    This can relieve the driver owners' life who needs to handle many clocks,
    as well as each clock error reporting.
    
    Cc: Michael Turquette <mturquette@baylibre.com>
    Cc: Stephen Boyd <sboyd@codeaurora.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Shawn Guo <shawnguo@kernel.org>
    Cc: Fabio Estevam <fabio.estevam@nxp.com>
    Cc: Sascha Hauer <kernel@pengutronix.de>
    Cc: Anson Huang <anson.huang@nxp.com>
    Cc: Robin Gong <yibin.gong@nxp.com>
    Cc: Bai Ping <ping.bai@nxp.com>
    Cc: Leonard Crestez <leonard.crestez@nxp.com>
    Cc: Octavian Purdila <octavian.purdila@nxp.com>
    Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
    Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
    266e4e9d
Makefile 3.7 KB