1. 29 6月, 2012 15 次提交
  2. 20 5月, 2012 1 次提交
    • M
      mfd: Convert wm831x to irq_domain · cd99758b
      Mark Brown 提交于
      The modern idiom is to use irq_domain to allocate interrupts. This is
      useful partly to allow further infrastructure to be based on the domains
      and partly because it makes it much easier to allocate virtual interrupts
      to devices as we don't need to allocate a contiguous range of interrupt
      numbers.
      
      Convert the wm831x driver over to this infrastructure, using a legacy
      IRQ mapping if an irq_base is specified in platform data and otherwise
      using a linear mapping, always registering the interrupts even if they
      won't ever be used. Only boards which need to use the GPIOs as
      interrupts should need to use an irq_base.
      
      This means that we can't use the MFD irq_base management since the
      unless we're using an explicit irq_base from platform data we can't rely
      on a linear mapping of interrupts.  Instead we need to map things via
      the irq_domain - provide a conveniencem function wm831x_irq() to save a
      small amount of typing when doing so. Looking at this I couldn't clearly
      see anything the MFD core could do to make this nicer.
      
      Since we're not supporting device tree yet there's no meaningful
      advantage if we don't do this conversion in one, the fact that the
      interrupt resources are used for repeated IP blocks makes accessor
      functions for the irq_domain more trouble to do than they're worth.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      cd99758b
  3. 11 5月, 2012 5 次提交
  4. 05 5月, 2012 1 次提交
    • G
      USB: input: usbtouchscreen.c: fix up dev_* messages · 0a5ebc88
      Greg Kroah-Hartman 提交于
      Previously I had made the struct device point to the input device, but
      after talking with Dmitry, he said that the USB device would make more
      sense for this driver to point to.  So converted it to use that instead.
      
      CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      CC: Henrik Rydberg <rydberg@euromail.se>
      CC: Rusty Russell <rusty@rustcorp.com.au>
      CC: Viresh Kumar <viresh.kumar@st.com>
      CC: Armando Visconti <armando.visconti@st.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0a5ebc88
  5. 02 5月, 2012 2 次提交
  6. 30 4月, 2012 3 次提交
  7. 26 4月, 2012 1 次提交
    • G
      USB: usbtouchscreen.c: remove err() usage · e27ad0fe
      Greg Kroah-Hartman 提交于
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead.
      
      CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      CC: Henrik Rydberg <rydberg@euromail.se>
      CC: Rusty Russell <rusty@rustcorp.com.au>
      CC: Viresh Kumar <viresh.kumar@st.com>
      CC: Armando Visconti <armando.visconti@st.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e27ad0fe
  8. 24 4月, 2012 1 次提交
  9. 21 4月, 2012 1 次提交
  10. 16 4月, 2012 1 次提交
  11. 10 4月, 2012 1 次提交
  12. 05 4月, 2012 4 次提交
  13. 04 4月, 2012 1 次提交
  14. 26 3月, 2012 1 次提交
  15. 18 3月, 2012 1 次提交
  16. 17 3月, 2012 1 次提交