mfd: max8997: Replace 8998 with 8997
diff mbox series

Message ID 20210124170528.1230932-1-timon.baetz@protonmail.com
State New, archived
Headers show
Series
  • mfd: max8997: Replace 8998 with 8997
Related show

Commit Message

Timon Baetz Jan. 24, 2021, 5:05 p.m. UTC
Replace occurrences of 8998 with 8997.

Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
---
 include/linux/mfd/max8997.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Lee Jones Jan. 25, 2021, 8:43 a.m. UTC | #1
On Sun, 24 Jan 2021, Timon Baetz wrote:

> Replace occurrences of 8998 with 8997.

Because ...

> Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
> ---
>  include/linux/mfd/max8997.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/linux/mfd/max8997.h b/include/linux/mfd/max8997.h
> index e955e2f0a2cc..6c98edcf4b0b 100644
> --- 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_MAX8998_H
> -#define __LINUX_MFD_MAX8998_H
> +#ifndef __LINUX_MFD_MAX8997_H
> +#define __LINUX_MFD_MAX8997_H
>  
>  #include <linux/regulator/consumer.h>
>  
>  /* MAX8997/8966 regulator IDs */
> -enum max8998_regulators {
> +enum max8997_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_MAX8998_H */
> +#endif /* __LINUX_MFD_MAX8997_H */
Timon Baetz Jan. 25, 2021, 7:51 p.m. UTC | #2
On Mon, 25 Jan 2021 08:43:47 +0000, Lee Jones wrote:
> On Sun, 24 Jan 2021, Timon Baetz wrote:
> 
> > Replace occurrences of 8998 with 8997.  
> 
> Because ...

... it is the max8997 header. Do you want me to extend the commit
message?

Thanks,
Timon
Lee Jones Jan. 26, 2021, 8:17 a.m. UTC | #3
On Mon, 25 Jan 2021, Timon Baetz wrote:

> On Mon, 25 Jan 2021 08:43:47 +0000, Lee Jones wrote:
> > On Sun, 24 Jan 2021, Timon Baetz wrote:
> > 
> > > Replace occurrences of 8998 with 8997.  
> > 
> > Because ...
> 
> ... it is the max8997 header. Do you want me to extend the commit
> message?

Yes.

Please explain the intention of the patch and why it is required.

Patch
diff mbox series

diff --git a/include/linux/mfd/max8997.h b/include/linux/mfd/max8997.h
index e955e2f0a2cc..6c98edcf4b0b 100644
--- 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_MAX8998_H
-#define __LINUX_MFD_MAX8998_H
+#ifndef __LINUX_MFD_MAX8997_H
+#define __LINUX_MFD_MAX8997_H
 
 #include <linux/regulator/consumer.h>
 
 /* MAX8997/8966 regulator IDs */
-enum max8998_regulators {
+enum max8997_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_MAX8998_H */
+#endif /* __LINUX_MFD_MAX8997_H */