phy: xgene: Remove duplicate code to set ctx->dev
authorAxel Lin <axel.lin@ingics.com>
Wed, 25 Feb 2015 14:10:53 +0000 (22:10 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 4 Mar 2015 13:01:47 +0000 (18:31 +0530)
commit991e45f8f8ff079a04caa710be417e8e713e092c
treed55a668ab65ab7074802590d4c82bbdd86ab1cb0
parent7a83b145b5891f445009b341361e2e458bd13d2b
phy: xgene: Remove duplicate code to set ctx->dev

Set it once is enough and it's done after devm_kzalloc().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-xgene.c