projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40cb71f
)
mfd: max8997: Replace 8998 with 8997
author
Timon Baetz
<timon.baetz@protonmail.com>
Wed, 27 Jan 2021 07:32:42 +0000
(07:32 +0000)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:38 +0000
(16:06 +0100)
The max8997 header is using "max8998" in some identifiers.
Fix it by replacing 8998 with 8997 in enum and macro.
Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/max8997.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/mfd/max8997.h
b/include/linux/mfd/max8997.h
index e955e2f0a2ccdff9f2d4630a981b9c454c2abe0e..6c98edcf4b0bf03db52c90e60ae083b9cc90721e 100644
(file)
--- a/
include/linux/mfd/max8997.h
+++ b/
include/linux/mfd/max8997.h
@@
-14,13
+14,13
@@
* others and b) it can be enabled simply by using MAX17042 driver.
*/
-#ifndef __LINUX_MFD_MAX899
8
_H
-#define __LINUX_MFD_MAX899
8
_H
+#ifndef __LINUX_MFD_MAX899
7
_H
+#define __LINUX_MFD_MAX899
7
_H
#include <linux/regulator/consumer.h>
/* MAX8997/8966 regulator IDs */
-enum max899
8
_regulators {
+enum max899
7
_regulators {
MAX8997_LDO1 = 0,
MAX8997_LDO2,
MAX8997_LDO3,
@@
-207,4
+207,4
@@
struct max8997_platform_data {
struct max8997_led_platform_data *led_pdata;
};
-#endif /* __LINUX_MFD_MAX899
8
_H */
+#endif /* __LINUX_MFD_MAX899
7
_H */