remoteproc/davinci: drop needless devm_clk_put
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 23 Sep 2013 16:00:20 +0000 (18:00 +0200)
committerOhad Ben-Cohen <ohad@wizery.com>
Mon, 24 Feb 2014 09:00:55 +0000 (11:00 +0200)
commit5d658bfdb4ca797104f3ad9a88dae86bee0ac77a
tree90922146f6c655bd11bd0d5289155fff87a8727f
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691
remoteproc/davinci: drop needless devm_clk_put

The comment above disable_irq says that it is needed to ensure that the
"devm subsystem might end up releasing things before freeing the irq,
thus allowing an interrupt to sneak in while the device is being
removed." disable_irq is enough for this purpose and there is no need to
manually free the reference to the clock.

Cc: Robert Tivy <rtivy@ti.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[moved the Cc line into the commit message]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/da8xx_remoteproc.c