drivers: phy: constify phy_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 8 Jan 2017 10:35:56 +0000 (16:05 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 16 Jan 2017 11:11:51 +0000 (16:41 +0530)
commita8df2768c2ed38eb7da0f24f50a0e105f0ff7665
treeca7552ab5a58a6b18365abee2bfa0737cd7b2998
parent66adb88955e9549707a03bbc1f3d640557ee4d9f
drivers: phy: constify phy_ops structures

Declare phy_ops structures as const as they are only passed as an
argument to the function devm_phy_create. This argument is of type const
struct phy_ops *, so phy_ops structures having this property can be
declared as const.
Done using Coccinelle:

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-bcm-cygnus-pcie.c
drivers/phy/phy-hi6220-usb.c
drivers/phy/phy-mt65xx-usb3.c
drivers/phy/phy-rcar-gen3-usb2.c