]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc-honor-device-tree-alias-entries-when-assigning-ids-v2
authorStephen Warren <swarren@nvidia.com>
Fri, 3 Jan 2014 03:10:24 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:24 +0000 (14:10 +1100)
commitd062871ff59b692b78c69b9f8545397957663dc2
tree6bdf195db032453c4015eec4b4b4108f5ce3568f
parentf4086c7eb106d88a8f7d3ca9471e095807511d44
rtc-honor-device-tree-alias-entries-when-assigning-ids-v2

v2: Explicitly check for both dev->of_node and dev->parent->of_node.
    This covers the MFD case, without the MFD core having to set
    child MFD devices' of_node pointer to the same node as the top-
    level MFD device, which causes problems such as:
    http://www.spinics.net/lists/arm-kernel/msg295854.html

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/class.c