]> git.baikalelectronics.ru Git - kernel.git/commit
reset: Reorder inline reset_control_get*() wrappers
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Jun 2016 15:56:49 +0000 (16:56 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 29 Jun 2016 19:24:52 +0000 (21:24 +0200)
commitd5d3e1a03224f73fa8d70d8c742abd13641e6d5f
tree63a36f9ae0481aee1396ba32abe7c97c72c7d63f
parent50071cc55229e13f7b459c28388ff0f4e1bac824
reset: Reorder inline reset_control_get*() wrappers

We're about to split the current API into two, where consumers will
be forced to be explicit when requesting reset lines.  The choice
will be to either the call the *_exclusive or *_shared variant
depending on whether they can actually tolorate not being asserted
when that request is made.

The new API will look like this once reorded and complete:

  reset_control_get_exclusive()
  reset_control_get_shared()
  reset_control_get_optional_exclusive()
  reset_control_get_optional_shared()
  of_reset_control_get_exclusive()
  of_reset_control_get_shared()
  of_reset_control_get_exclusive_by_index()
  of_reset_control_get_shared_by_index()
  devm_reset_control_get_exclusive()
  devm_reset_control_get_shared()
  devm_reset_control_get_optional_exclusive()
  devm_reset_control_get_optional_shared()
  devm_reset_control_get_exclusive_by_index()
  devm_reset_control_get_shared_by_index()

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h