diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-16 11:07:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-16 11:07:02 -0700 |
commit | 651220e2aee3ccfd986a0436b8d6f5b3b5574d1f (patch) | |
tree | 66ae5b0ef428333270fc2337ec6c2c65719e1a6d | |
parent | a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55 (diff) | |
parent | bf6b694a6a908a6fd8f23eada669d1e90b2772af (diff) | |
download | lwn-651220e2aee3ccfd986a0436b8d6f5b3b5574d1f.tar.gz lwn-651220e2aee3ccfd986a0436b8d6f5b3b5574d1f.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/mt6360-core.c b/drivers/mfd/mt6360-core.c index db8cdf5272c1..e9cacc27d980 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), }, |