From: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx> Changes since v1: * Change to add __maybe_unsed rather than not use of_match_ptr(). Chunyan Zhang (2): hwspinlock: sprd: fixed warning of unused variable 'sprd_hwspinlock_of_match' hwspinlock: sprd: use module_platform_driver() instead postcore initcall drivers/hwspinlock/sprd_hwspinlock.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) -- 2.20.1