phy: miphy365x: Convert to devm_kcalloc and fix wrong sizeof
authorAxel Lin <[email protected]>
Thu, 5 Mar 2015 01:52:59 +0000 (09:52 +0800)
committerKishon Vijay Abraham I <[email protected]>
Fri, 13 Mar 2015 11:44:37 +0000 (17:14 +0530)
commitd8d52948a0240d7d2d217d15a673364d990bf9e8
tree006aa5c9191998a330a8913536eb6ee1aeacf5f9
parent8f27f167de5cd8260ad1ad3bb8166363de6f2620
phy: miphy365x: Convert to devm_kcalloc and fix wrong sizeof

Prefer devm_kcalloc over devm_kzalloc with multiply.
In additional, use sizeof(phy) is incorrect, fix it.

Signed-off-by: Axel Lin <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
drivers/phy/phy-miphy365x.c