[PATCH 0/4] Improve CLKSRC_OF matching

From: Rob Herring
Date: Thu Feb 07 2013 - 14:10:53 EST


From: Rob Herring <rob.herring@xxxxxxxxxxx>

In the recently added support for OF based clocksource init, a device node
will be matched twice. We can fix this by passing the device node to the
init functions and removing the match functions within the init functions.

This is based on arm-soc for-next branch and commit "of: fix incorrect
return value of of_find_matching_node_and_match()" in my DT for-next
branch.

Rob

Rob Herring (4):
clocksource: pass DT node pointer to init functions
clocksource: bcm2835: use the device_node pointer passed to init
clocksource: vt8500: use the device_node pointer passed to init
clocksource: tegra20: use the device_node pointer passed to init

drivers/clocksource/bcm2835_timer.c | 12 +-----
drivers/clocksource/clksrc-of.c | 4 +-
drivers/clocksource/tegra20_timer.c | 70 ++++++++++++++---------------------
drivers/clocksource/vt8500_timer.c | 14 +------
4 files changed, 31 insertions(+), 69 deletions(-)

--
1.7.10.4

--
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/