Re: [PATCH] net: fec: get regulator optional
From: David Miller
Date: Tue Jan 22 2019 - 23:52:13 EST
From: Stefan Agner <stefan@xxxxxxxx>
Date: Mon, 21 Jan 2019 15:58:47 +0100
> According to the device tree binding the phy-supply property is
> optional. Use the regulator_get_optional API accordingly. The
> code already handles NULL just fine.
>
> This gets rid of the following warning:
> fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator
>
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>
Applied.