All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ath10k: a little bit clean-up of ATH10K driver
@ 2016-09-06 12:39 ` Masahiro Yamada
  0 siblings, 0 replies; 13+ messages in thread
From: Masahiro Yamada @ 2016-09-06 12:39 UTC (permalink / raw)
  To: linux-wireless
  Cc: Johannes Berg, Luis R. Rodriguez, Masahiro Yamada, Kalle Valo,
	netdev, linux-kernel, ath10k


Clean-up code with devm_clk_get() and devm_reset_control_get().

I know devm_reset_control_get() should be replaced with
either devm_reset_control_get_exclusive() or
devm_reset_control_get_shared().

My best guess is devm_reset_control_get_shared() for this case,
but I am not 100% sure, so I am leaving it to other developers.



Masahiro Yamada (3):
  ath10k: use devm_clk_get() instead of clk_get()
  ath10k: use devm_reset_control_get() instead of reset_control_get()
  ath10k: do not check if reset is NULL

 drivers/net/wireless/ath/ath10k/ahb.c | 105 +++++++---------------------------
 1 file changed, 21 insertions(+), 84 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-09-27 12:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06 12:39 [PATCH 0/3] ath10k: a little bit clean-up of ATH10K driver Masahiro Yamada
2016-09-06 12:39 ` Masahiro Yamada
2016-09-06 12:39 ` Masahiro Yamada
2016-09-06 12:39 ` [PATCH 1/3] ath10k: use devm_clk_get() instead of clk_get() Masahiro Yamada
2016-09-06 12:39   ` Masahiro Yamada
2016-09-27 12:14   ` [1/3] " Kalle Valo
2016-09-27 12:14     ` Kalle Valo
2016-09-27 12:14     ` Kalle Valo
2016-09-06 12:39 ` [PATCH 2/3] ath10k: use devm_reset_control_get() instead of reset_control_get() Masahiro Yamada
2016-09-06 12:39   ` Masahiro Yamada
2016-09-06 12:39   ` Masahiro Yamada
2016-09-06 12:39 ` [PATCH 3/3] ath10k: do not check if reset is NULL Masahiro Yamada
2016-09-06 12:39   ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.