[PATCH 0/3] Introduce devm_clk_register()

From: Stephen Boyd
Date: Wed Sep 19 2012 - 02:06:15 EST


The first patch in this series fixes error checking in the wm831x clock
driver and is here to prevent context conflicts in the third patch.
I split it out in case it needed to merge sooner rather than later.

The goal of this series is to add devm_clk_register() so I can use it in
some MSM clock code I'm sending out in the near future. The second
patch adds the API and the third patch moves over an existing user of
clk_unregister() to the devm API.

Stephen Boyd (3):
clk: wm831x: Fix clk_register() error code checking
clk: Add devm_clk_{register,unregister}()
clk: wm831x: Use devm_clk_register() to simplify code

drivers/clk/clk-wm831x.c | 34 ++++---------
drivers/clk/clk.c | 111 +++++++++++++++++++++++++++++++++++--------
include/linux/clk-provider.h | 2 +
3 files changed, 101 insertions(+), 46 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/