linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] power: ab8500: remove unused header
@ 2021-06-01 13:35 Krzysztof Kozlowski
  2021-06-01 13:36 ` [PATCH 2/2] MAINTAINERS: power: supply: cover also header files Krzysztof Kozlowski
  2021-06-03 16:46 ` [PATCH 1/2] power: ab8500: remove unused header Sebastian Reichel
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-06-01 13:35 UTC (permalink / raw)
  To: Sebastian Reichel, linux-kernel, linux-pm, Linus Walleij,
	linux-arm-kernel
  Cc: Krzysztof Kozlowski

The ab8500.h header in linux/power is not referenced/included, so can be
safely removed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 include/linux/power/ab8500.h | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100644 include/linux/power/ab8500.h

diff --git a/include/linux/power/ab8500.h b/include/linux/power/ab8500.h
deleted file mode 100644
index 51976b52f373..000000000000
--- a/include/linux/power/ab8500.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) ST-Ericsson 2013
- * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
- */
-
-#ifndef PWR_AB8500_H
-#define PWR_AB8500_H
-
-extern const struct abx500_res_to_temp ab8500_temp_tbl_a_thermistor[];
-extern const int ab8500_temp_tbl_a_size;
-
-extern const struct abx500_res_to_temp ab8500_temp_tbl_b_thermistor[];
-extern const int ab8500_temp_tbl_b_size;
-
-#endif /* PWR_AB8500_H */
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] MAINTAINERS: power: supply: cover also header files
  2021-06-01 13:35 [PATCH 1/2] power: ab8500: remove unused header Krzysztof Kozlowski
@ 2021-06-01 13:36 ` Krzysztof Kozlowski
  2021-06-03 16:46 ` [PATCH 1/2] power: ab8500: remove unused header Sebastian Reichel
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-06-01 13:36 UTC (permalink / raw)
  To: Sebastian Reichel, linux-kernel, linux-pm, Linus Walleij,
	linux-arm-kernel
  Cc: Krzysztof Kozlowski

Only one header (smartreflex.h) in include/linux/power/ is not related
to battery or charger drivers.  All others should be covered by power
supply maintainers entry so patches to them will reach respective people
and lists.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 365f873d0077..2f9961310c80 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14744,6 +14744,7 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git
 F:	Documentation/ABI/testing/sysfs-class-power
 F:	Documentation/devicetree/bindings/power/supply/
 F:	drivers/power/supply/
+F:	include/linux/power/
 F:	include/linux/power_supply.h
 
 POWERNV OPERATOR PANEL LCD DISPLAY DRIVER
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] power: ab8500: remove unused header
  2021-06-01 13:35 [PATCH 1/2] power: ab8500: remove unused header Krzysztof Kozlowski
  2021-06-01 13:36 ` [PATCH 2/2] MAINTAINERS: power: supply: cover also header files Krzysztof Kozlowski
@ 2021-06-03 16:46 ` Sebastian Reichel
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2021-06-03 16:46 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-kernel, linux-pm, Linus Walleij, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

Hi,

Thanks, both queued.

-- Sebastian

On Tue, Jun 01, 2021 at 03:35:59PM +0200, Krzysztof Kozlowski wrote:
> The ab8500.h header in linux/power is not referenced/included, so can be
> safely removed.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  include/linux/power/ab8500.h | 16 ----------------
>  1 file changed, 16 deletions(-)
>  delete mode 100644 include/linux/power/ab8500.h
> 
> diff --git a/include/linux/power/ab8500.h b/include/linux/power/ab8500.h
> deleted file mode 100644
> index 51976b52f373..000000000000
> --- a/include/linux/power/ab8500.h
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0-only */
> -/*
> - * Copyright (C) ST-Ericsson 2013
> - * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
> - */
> -
> -#ifndef PWR_AB8500_H
> -#define PWR_AB8500_H
> -
> -extern const struct abx500_res_to_temp ab8500_temp_tbl_a_thermistor[];
> -extern const int ab8500_temp_tbl_a_size;
> -
> -extern const struct abx500_res_to_temp ab8500_temp_tbl_b_thermistor[];
> -extern const int ab8500_temp_tbl_b_size;
> -
> -#endif /* PWR_AB8500_H */
> -- 
> 2.27.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-03 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 13:35 [PATCH 1/2] power: ab8500: remove unused header Krzysztof Kozlowski
2021-06-01 13:36 ` [PATCH 2/2] MAINTAINERS: power: supply: cover also header files Krzysztof Kozlowski
2021-06-03 16:46 ` [PATCH 1/2] power: ab8500: remove unused header Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).