[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1496072763-31209-1-git-send-email-benjamin.gaignard@linaro.org>
Date: Mon, 29 May 2017 17:45:48 +0200
From: Benjamin Gaignard <benjamin.gaignard@...aro.org>
To: unlisted-recipients:; (no To-header on input)
Cc: Benjamin Gaignard <benjamin.gaignard@...aro.org>,
Alexandre Torgue <alexandre.torgue@...com>,
David Airlie <airlied@...ux.ie>,
Fabrice Gasnier <fabrice.gasnier@...com>,
Hartmut Knaack <knaack.h@....de>,
Jaroslav Kysela <perex@...ex.cz>,
Javier Martinez Canillas <javier@....samsung.com>,
Jonathan Cameron <jic23@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Kukjin Kim <kgene@...nel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Lee Jones <lee.jones@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Olivier Moysan <olivier.moysan@...com>,
Rob Clark <robdclark@...il.com>,
Shawn Guo <shawnguo@...nel.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Takashi Iwai <tiwai@...e.com>,
Tony Lindgren <tony@...mide.com>, linux-iio@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-arm-msm@...r.kernel.org,
freedreno@...ts.freedesktop.org, linux-samsung-soc@...r.kernel.org,
alsa-devel@...a-project.org, linux-media@...r.kernel.org
Subject: [PATCH 00/15] make more driver use devm_of_platform_populate()
Number of calls to of_platform_populate() aren't unbalanced by a call to
of_platform_depopulate() that could generate issue will loading/unloading
the drivers. Make those drivers use devm_of_platform_populate() fix the problem
without need to add remove function.
In some case replacing of_platform_populate() by devm_of_platform_populate()
allow to delete driver remove function and save some lines of code.
This series of patches based on v4.12-rc3 tag.
CC: Alexandre Torgue <alexandre.torgue@...com>
CC: David Airlie <airlied@...ux.ie>
CC: Fabrice Gasnier <fabrice.gasnier@...com>
CC: Hartmut Knaack <knaack.h@....de>
CC: Jaroslav Kysela <perex@...ex.cz>
CC: Javier Martinez Canillas <javier@....samsung.com>
CC: Jonathan Cameron <jic23@...nel.org>
CC: Krzysztof Kozlowski <krzk@...nel.org>
CC: Kukjin Kim <kgene@...nel.org>
CC: Kyungmin Park <kyungmin.park@...sung.com>
CC: Lars-Peter Clausen <lars@...afoo.de>
CC: Lee Jones <lee.jones@...aro.org>
CC: Liam Girdwood <lgirdwood@...il.com>
CC: Mark Brown <broonie@...nel.org>
CC: Mauro Carvalho Chehab <mchehab@...nel.org>
CC: Olivier Moysan <olivier.moysan@...com>
CC: Rob Clark <robdclark@...il.com>
CC: Shawn Guo <shawnguo@...nel.org>
CC: Sylwester Nawrocki <s.nawrocki@...sung.com>
CC: Takashi Iwai <tiwai@...e.com>
CC: Tony Lindgren <tony@...mide.com>
CC: linux-iio@...r.kernel.org
CC: linux-arm-kernel@...ts.infradead.org
CC: linux-kernel@...r.kernel.org
CC: dri-devel@...ts.freedesktop.org
CC: linux-arm-msm@...r.kernel.org
CC: freedreno@...ts.freedesktop.org
CC: linux-samsung-soc@...r.kernel.org
CC: alsa-devel@...a-project.org
CC: linux-media@...r.kernel.org
Benjamin Gaignard (15):
iio: adc: stm32: use devm_of_platform_populate()
iio: dac: stm32: use devm_of_platform_populate()
drm: zte: use devm_of_platform_populate()
drm: msm: use devm_of_platform_populate()
mfd: stm32-timers: use devm_of_platform_populate
mfd: atmel: use devm_of_platform_populate()
mfd: cros_ec: use devm_of_platform_populate()
mfd: exynos: use devm_of_platform_populate()
mfd: fsl-imx25: use devm_of_platform_populate()
mfd: motorola-cpcap: use devm_of_platform_populate()
mfd: palmas: use devm_of_platform_populate()
mfd: qcom-spmi-pmic: use devm_of_platform_populate()
mfd: smsc-ece: use devm_of_platform_populate()
sound: stm32: use devm_of_platform_populate()
media: exynos4-is: use devm_of_platform_populate()
drivers/gpu/drm/msm/msm_drv.c | 10 ++--------
drivers/gpu/drm/zte/zx_drm_drv.c | 2 +-
drivers/iio/adc/stm32-adc-core.c | 4 +---
drivers/iio/dac/stm32-dac-core.c | 3 +--
drivers/media/platform/exynos4-is/fimc-is.c | 7 ++-----
drivers/mfd/atmel-flexcom.c | 2 +-
drivers/mfd/cros_ec.c | 2 +-
drivers/mfd/exynos-lpass.c | 2 +-
drivers/mfd/fsl-imx25-tsadc.c | 5 +----
drivers/mfd/motorola-cpcap.c | 13 +------------
drivers/mfd/palmas.c | 2 +-
drivers/mfd/qcom-spmi-pmic.c | 9 +--------
drivers/mfd/smsc-ece1099.c | 3 +--
drivers/mfd/stm32-timers.c | 10 +---------
sound/soc/stm/stm32_sai.c | 11 +----------
15 files changed, 17 insertions(+), 68 deletions(-)
--
1.9.1
Powered by blists - more mailing lists