aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-16 11:07:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-16 11:07:02 -0700
commit651220e2aee3ccfd986a0436b8d6f5b3b5574d1f (patch)
tree66ae5b0ef428333270fc2337ec6c2c65719e1a6d
parenta5dc8300df75e8b8384b4c82225f1e4a0b4d9b55 (diff)
parentbf6b694a6a908a6fd8f23eada669d1e90b2772af (diff)
downloadlinux-651220e2aee3ccfd986a0436b8d6f5b3b5574d1f.tar.gz
Merge tag 'mfd-fixes-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull MFD fix from Lee Jones: "Fix NULL pointer dereference in mt6360 driver" * tag 'mfd-fixes-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: mfd: mt6360: Fix register driver NULL pointer by adding driver name
-rw-r--r--drivers/mfd/mt6360-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/mt6360-core.c b/drivers/mfd/mt6360-core.c
index db8cdf5272c1f6..e9cacc27d98013 100644
--- a/drivers/mfd/mt6360-core.c
+++ b/drivers/mfd/mt6360-core.c
@@ -412,6 +412,7 @@ MODULE_DEVICE_TABLE(of, mt6360_pmu_of_id);
static struct i2c_driver mt6360_pmu_driver = {
.driver = {
+ .name = "mt6360_pmu",
.pm = &mt6360_pmu_pm_ops,
.of_match_table = of_match_ptr(mt6360_pmu_of_id),
},