[PATCH] phy: amlogic: Replace devm_reset_control_array_get()

Martin Blumenstingl martin.blumenstingl at googlemail.com
Tue Nov 17 17:52:14 EST 2020


Hi Yejune,

On Tue, Nov 17, 2020 at 6:58 AM Yejune Deng <yejune.deng at gmail.com> wrote:
>
> devm_reset_control_array_get_exclusive() looks more readable
>
> Signed-off-by: Yejune Deng <yejune.deng at gmail.com>
> ---
>  drivers/phy/amlogic/phy-meson-axg-pcie.c       | 2 +-
>  drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c | 2 +-
>  drivers/soc/amlogic/meson-ee-pwrc.c            | 3 +--
>  drivers/soc/amlogic/meson-gx-pwrc-vpu.c        | 2 +-
what's the reason behind including PHY and SoC driver changes in one patch?
I think both main directories will be applied by different
maintainers, so I believe the patch should be split into:
- one drivers/phy patch
- another drivers/soc patch


Best regards,
Martin



More information about the linux-amlogic mailing list