diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-08-06 23:13:29 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-08-10 22:36:27 +0200 |
commit | 1a987c69ce2c5a406f7ef3713d3ed74a1af70c56 (patch) | |
tree | 480a425769dd3fabf1d8f55534f574c3096a96aa /drivers/thunderbolt/lc.c | |
parent | 4e60d5dd10cd82014b26a40519b94444547ec95c (diff) |
i2c: i801: make p2sb_spinlock a mutex
p2sb_spinlock is used in i801_add_tco_spt() only, and in process context
only. Therefore a mutex is sufficient, and we can make the definition
local to i801_add_tco_spt().
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/thunderbolt/lc.c')
0 files changed, 0 insertions, 0 deletions