Re: [PATCH] net: fec: get regulator optional

2019-01-22 Thread David Miller
From: Stefan Agner 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:

RE: [PATCH] net: fec: get regulator optional

2019-01-21 Thread Andy Duan
From: Stefan Agner Sent: Monday, January 21, 2019 10:59 PM > 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

Re: [PATCH] net: fec: get regulator optional

2019-01-21 Thread Marcel Ziswiler
On Mon, 2019-01-21 at 15:58 +0100, Stefan Agner wrote: > 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:

[PATCH] net: fec: get regulator optional

2019-01-21 Thread Stefan Agner
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