1. 15 11月, 2012 1 次提交
  2. 15 5月, 2012 1 次提交
  3. 18 4月, 2012 1 次提交
    • V
      pinctrl: replace list_*() with get_*_count() · d1e90e9e
      Viresh Kumar 提交于
      Most of the SoC drivers implement list_groups() and list_functions()
      routines for pinctrl and pinmux. These routines continue returning
      zero until the selector argument is greater than total count of
      available groups or functions.
      
      This patch replaces these list_*() routines with get_*_count()
      routines, which returns the number of available selection for SoC
      driver. pinctrl layer will use this value to check the range it can
      choose.
      
      This patch fixes all user drivers for this change. There are other
      routines in user drivers, which have checks to check validity of
      selector passed to them. It is also no more required and hence
      removed.
      
      Documentation updated as well.
      Acked-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NViresh Kumar <viresh.kumar@st.com>
      [Folded in fix and fixed a minor merge artifact manually]
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      d1e90e9e
  4. 02 2月, 2012 1 次提交