linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/42] mfd: arizona: use PLATFORM_DEVID_NONE
@ 2020-09-21 20:49 Krzysztof Kozlowski
  2020-09-21 20:49 ` [PATCH 02/42] mfd: as3711: " Krzysztof Kozlowski
                   ` (41 more replies)
  0 siblings, 42 replies; 57+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-21 20:49 UTC (permalink / raw)
  To: Lee Jones, Nicolas Ferre, Alexandre Belloni, Ludovic Desroches,
	Chen-Yu Tsai, Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, Nicolas Saenz Julienne,
	Support Opensource, Andy Shevchenko, Milo Kim, Chanwoo Choi,
	Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, Sangbeom Kim,
	Tony Lindgren, patches, linux-kernel, linux-arm-kernel,
	linux-rpi-kernel, linux-samsung-soc, linux-omap

Use PLATFORM_DEVID_NONE define instead of "-1" value because:
 - it brings some meaning,
 - it might point attention why auto device ID was not used.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/mfd/arizona-core.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index 000cb82023e3..bf48372db605 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -1043,8 +1043,9 @@ int arizona_dev_init(struct arizona *arizona)
 	case CS47L24:
 		break; /* No LDO1 regulator */
 	default:
-		ret = mfd_add_devices(arizona->dev, -1, early_devs,
-				      ARRAY_SIZE(early_devs), NULL, 0, NULL);
+		ret = mfd_add_devices(arizona->dev, PLATFORM_DEVID_NONE,
+				      early_devs, ARRAY_SIZE(early_devs),
+				      NULL, 0, NULL);
 		if (ret != 0) {
 			dev_err(dev, "Failed to add early children: %d\n", ret);
 			return ret;
-- 
2.17.1


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

end of thread, other threads:[~2020-09-28  3:03 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 20:49 [PATCH 01/42] mfd: arizona: use PLATFORM_DEVID_NONE Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 02/42] mfd: as3711: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 03/42] mfd: as3722: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 04/42] mfd: atmel-hlcdc: " Krzysztof Kozlowski
2020-09-22  6:49   ` Alexandre Belloni
2020-09-21 20:49 ` [PATCH 05/42] mfd: axp20x: " Krzysztof Kozlowski
2020-09-22  8:21   ` Andy Shevchenko
2020-09-21 20:49 ` [PATCH 06/42] mfd: bcm2835: " Krzysztof Kozlowski
2020-09-21 21:12   ` Florian Fainelli
2020-09-22 10:34   ` Nicolas Saenz Julienne
2020-09-21 20:49 ` [PATCH 07/42] mfd: bcm590xx: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 08/42] mfd: da9055: " Krzysztof Kozlowski
2020-09-22  9:04   ` Adam Thomson
2020-09-21 20:49 ` [PATCH 09/42] mfd: da9150: " Krzysztof Kozlowski
2020-09-22  9:05   ` Adam Thomson
2020-09-21 20:49 ` [PATCH 10/42] mfd: intel_msic: " Krzysztof Kozlowski
2020-09-22  8:22   ` Andy Shevchenko
2020-09-21 20:49 ` [PATCH 11/42] mfd: intel_soc_pmic: " Krzysztof Kozlowski
2020-09-22  8:22   ` Andy Shevchenko
2020-09-21 20:49 ` [PATCH 12/42] mfd: kempld: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 13/42] mfd: lp8788: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 14/42] mfd: lp3943: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 15/42] mfd: max14577: " Krzysztof Kozlowski
2020-09-28  3:15   ` Chanwoo Choi
2020-09-21 20:49 ` [PATCH 16/42] mfd: max77686: " Krzysztof Kozlowski
2020-09-28  3:16   ` Chanwoo Choi
2020-09-21 20:49 ` [PATCH 17/42] mfd: max77693: " Krzysztof Kozlowski
2020-09-28  3:16   ` Chanwoo Choi
2020-09-21 20:49 ` [PATCH 18/42] mfd: max77843: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 19/42] mfd: max8907: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 20/42] mfd: max8997: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 21/42] mfd: max8998: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 22/42] mfd: mc13xxx: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 23/42] mfd: rc5t583: " Krzysztof Kozlowski
2020-09-21 20:49 ` [PATCH 24/42] mfd: rdc321x: " Krzysztof Kozlowski
2020-09-21 21:12   ` Florian Fainelli
2020-09-21 20:49 ` [PATCH 25/42] mfd: retu: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 26/42] mfd: rt5033: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 27/42] mfd: sec: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 28/42] mfd: sky81452: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 29/42] mfd: sta2x11: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 30/42] mfd: tc3589x: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 31/42] mfd: timberdale: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 32/42] mfd: tps6507x: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 33/42] mfd: tps65090: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 34/42] mfd: tps65217: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 35/42] mfd: tps6586x: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 36/42] mfd: tps65910: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 37/42] mfd: tps80031: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 38/42] mfd: twl6040: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 39/42] mfd: vx855: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 40/42] mfd: wl1273: " Krzysztof Kozlowski
2020-09-21 20:50 ` [PATCH 41/42] mfd: wm8400: " Krzysztof Kozlowski
2020-09-22  8:48   ` Charles Keepax
2020-09-21 20:50 ` [PATCH 42/42] mfd: wm8994: " Krzysztof Kozlowski
2020-09-22  8:48   ` Charles Keepax
2020-09-22  8:48 ` [PATCH 01/42] mfd: arizona: " Charles Keepax

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox