Andy Shevchenko 8c751e0d9a nvmem: core: Check input parameter for NULL in nvmem_unregister()
nvmem_unregister() frees resources and standard pattern is to allow
caller to not care if it's NULL or not. This will reduce burden on
the callers to perform this check.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220220151527.17216-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-21 18:00:29 +01:00
..
2022-02-14 09:00:38 +01:00
2022-02-11 11:55:26 -08:00
2022-02-14 09:00:38 +01:00
2022-02-07 17:42:44 +01:00
2022-01-18 14:03:34 +02:00
2022-01-30 01:06:35 +01:00
2022-02-21 17:47:42 +01:00
2022-02-12 10:16:32 -08:00
2022-02-09 08:04:44 +01:00
2022-02-01 16:52:54 +01:00
2022-01-23 06:20:44 +02:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-02-14 09:00:38 +01:00
2022-02-14 09:00:38 +01:00
2022-02-12 09:56:18 -08:00
2022-01-22 08:33:37 +02:00
2022-02-11 12:55:17 -08:00
2022-01-16 08:08:11 +02:00
2022-02-09 08:04:44 +01:00
2022-02-02 10:33:04 +05:30
2022-01-22 08:33:37 +02:00
2022-01-11 11:26:57 -08:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-02-01 12:39:37 -08:00
2022-02-08 09:48:44 +01:00
2021-12-29 10:54:50 +01:00
2022-01-20 13:31:46 +02:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00
2022-02-09 08:04:43 +01:00
2022-02-09 08:04:43 +01:00