Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 31 Aug 2020 14:36:52 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH 0/8] drivers: phy: Constify static phy_ops structs |
| |
On 24-08-20, 00:00, Rikard Falkeborn wrote: > This series constifies all static phy_ops structs in drivers/phy. > Typically the only usage is to pass the address of it to devm_phy_create() > which takes a const pointer. The lone exception is in > drivers/phy/qualcomm/phy-qcom-ipq4019-usb.c where the address of the > structs is assigned to the data-field in of_device_id, which is a const > void pointer. > > Making the structs const allows the compiler to put them in read-only > memory. > > The patches are all independent of each other, and have been > compile-tested only.
Applied all, thanks
-- ~Vinod
| ![\](/images/icornerr.gif) |