commit | 85eb5344f2c91502229ebb79f2af9eb37130ceac | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Mon Aug 17 09:10:22 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 18 16:15:22 2020 +0200 |
tree | b9d1be3006a5e55778f677354fd1bf8826277709 | |
parent | 2ea3f6a03b155f4df0cb9ee03557e7835928b646 [diff] |
staging: spmi: hisi-spmi-controller: fix it to probe successfully Add a MODULE_DEVICE_TABLE() to the driver. Also, the current logic calls platform_set_drvdata(pdev, NULL) if the driver succeeds loading. While here, remove the .owner, as it is not needed upstream anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/122bd1c02f325094f4830ac79a86430fbe01e3d5.1597647359.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>