Andy Shevchenko c6d9496333
spi: sg2044-nor: Fully convert to device managed resources
The driver has a wrong order of the cleaning up the resources,
i.e. it first will destroy the mutex and only then free the SPI
which might still use it. Fix this by switching to devm_mutex_init().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250313111423.322775-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-03-16 23:34:08 +00:00
..
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2025-02-03 19:24:44 +00:00
2024-11-20 12:23:06 -08:00
2024-09-30 01:12:21 +02:00
2025-03-11 13:11:29 +00:00
2024-12-09 13:14:36 +00:00
2024-10-07 14:53:15 +01:00
2025-02-12 17:38:46 +00:00
2024-10-07 14:53:15 +01:00
2024-09-30 01:12:21 +02:00
2024-10-07 14:53:15 +01:00
2024-10-07 14:53:15 +01:00
2024-09-30 22:43:40 +01:00
2024-10-07 14:53:15 +01:00
2025-01-10 15:01:33 +00:00
2025-03-13 14:15:54 +00:00