commit | 7b43dd19c9b13a3f5478b9d88a49a5495399ad29 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Oct 31 16:21:35 2017 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Nov 02 00:00:28 2017 +0100 |
tree | 64b4756358fa79889cd33ea170300faaff3bfcd2 | |
parent | da24b8240fe6afdeef388a2ef1da662b25675a5a [diff] |
i2c: Make i2c_unregister_device() NULL-aware It's a common pattern to be NULL-aware when freeing resources. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>