]> Pileus Git - ~andy/linux/commit
usb: phy: samsung: Use clk_get to get reference clock
authorTomasz Figa <t.figa@samsung.com>
Thu, 16 May 2013 09:57:07 +0000 (11:57 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 28 May 2013 17:06:30 +0000 (20:06 +0300)
commit87331b069761a292c7d832fc3bb34cde56418982
tree4aef0a51c542429ba86ec29d67064e341458fe26
parent6278703bcc4fa9778898ce9a7028b0b8e99747ef
usb: phy: samsung: Use clk_get to get reference clock

There is no need to use devm_clk_get to get a clock that is being put
at the end of the function.

This patch changes the code getting reference clock to use clk_get
instead of useless in this case devm_clk_get.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-samsung-usb.c