From: Suman Anna Date: Thu, 5 Mar 2015 02:01:14 +0000 (-0600) Subject: hwspinlock/core: add device tree support X-Git-Tag: omap-for-v4.2/fixes-rc1^2~21^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7737e949e31d8a71acee6bbb670f32dbd2a2c0;p=pandora-kernel.git hwspinlock/core: add device tree support This patch adds a new OF-friendly API of_hwspin_lock_get_id() for hwspinlock clients to use/request locks from a hwspinlock device instantiated through a device-tree blob. This new API can be used by hwspinlock clients to get the id for a specific lock using the phandle + args specifier, so that it can be requested using the available hwspin_lock_request_specific() API. Signed-off-by: Suman Anna Reviewed-by: Bjorn Andersson [small comment clarification] Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed