hwspinlock: sirf: Remove the redundant 'of_match_ptr'
authorBaolin Wang <baolin.wang7@gmail.com>
Mon, 8 Jun 2020 12:20:28 +0000 (20:20 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 10 Dec 2020 19:34:40 +0000 (13:34 -0600)
commitc3e9b463b41b45c4556a13043265097e2184226e
treef8a4ad632b211703479872ff861187ca2616297d
parent8266b809264caa23038ceab2811fc452cf936e84
hwspinlock: sirf: Remove the redundant 'of_match_ptr'

Remove the the redundant 'of_match_ptr' macro to fix below warning
when the CONFIG_OF is not selected.

All warnings:
drivers/hwspinlock/sirf_hwspinlock.c:87:34: warning: unused variable
'sirf_hwpinlock_ids' [-Wunused-const-variable]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/250d35cb489c3c4c066f7ce256d27f36712a1979.1591618255.git.baolin.wang7@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/hwspinlock/sirf_hwspinlock.c