1. 15 3月, 2013 13 次提交
  2. 25 1月, 2013 10 次提交
  3. 04 1月, 2013 1 次提交
    • G
      Drivers: misc: remove __dev* attributes. · 0fe763c5
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0fe763c5
  4. 25 9月, 2012 1 次提交
  5. 18 9月, 2012 1 次提交
  6. 01 8月, 2012 1 次提交
    • P
      sh: pfc: Fix up init ordering mess. · 1e32dfe3
      Paul Mundt 提交于
      Commit ca5481c6 ("sh: pfc: Rudimentary
      pinctrl-backed GPIO support.") introduced a regression for platforms that
      were doing early GPIO API calls (from arch_initcall() or earlier),
      leading to a situation where our two-stage registration logic would trip
      itself up and we'd -ENODEV out of the pinctrl registration path,
      resulting in endless -EPROBE_DEFER errors. Further lack of checking any
      sort of errors from gpio_request() resulted in boot time warnings,
      tripping on the FLAG_REQUESTED test-and-set in gpio_ensure_requested().
      
      As it turns out there's no particular need to bother with the two-stage
      registration, as the platform bus is already available at the point that
      we have to start caring. As such, it's easiest to simply fold these
      together in to a single init path, the ordering of which is ensured
      through the platform's mux registration, as usual.
      Reported-by: NRafael J. Wysocki <rjw@sisk.pl>
      Reported-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1e32dfe3
  7. 25 7月, 2012 1 次提交
  8. 20 7月, 2012 2 次提交
  9. 17 7月, 2012 3 次提交
  10. 11 7月, 2012 2 次提交
  11. 10 7月, 2012 1 次提交
    • P
      sh: pfc: Rudimentary pinctrl-backed GPIO support. · ca5481c6
      Paul Mundt 提交于
      This begins the migration of the PFC core to the pinctrl subsystem.
      Initial support is very basic, with the bulk of the implementation simply
      being nopped out in such a way to allow registration with the pinctrl
      core to succeed.
      
      The gpio chip driver is stripped down considerably now relying purely on
      pinctrl API calls to manage the bulk of its operations.
      
      This provides a basis for further PFC refactoring, including decoupling
      pin functions from the GPIO API, establishing pin groups, and so forth.
      These will all be dealt with incrementally so as to introduce as few
      growing and migratory pains to tree-wide PFC pinmux users today.
      
      When the interfaces have been well established and in-tree users have
      been migrated off of the legacy interfaces it will be possible to strip
      down the core considerably, leading to eventual drivers/pinctrl rehoming.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ca5481c6