watchdog: mena21_wdt: Drop unnecessary mutex lock
authorJia-Ju Bai <baijiaju1990@gmail.com>
Tue, 8 May 2018 07:12:06 +0000 (15:12 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 May 2018 19:25:23 +0000 (21:25 +0200)
commit343c2302bb4235bbe4db218f0b02c96570c63f6a
tree4a142818de6f3ee3151b7ed9788c55354c868a8b
parentb1eb8fedc01499132ced4b2a44b3ab3855c4e681
watchdog: mena21_wdt: Drop unnecessary mutex lock

There is already a mutex in the watchdog core which serializes
calls to the various API functions.
So the mutex lock "drv->lock" is unnecessary and can be dropped.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Reviewed-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/mena21_wdt.c