1. 19 4月, 2012 2 次提交
    • H
      USB: Add driver for the ssb bus · 7043c2cc
      Hauke Mehrtens 提交于
      This adds a USB driver using the generic platform device driver for the
      USB controller found on the Broadcom ssb bus. The ssb bus just
      exposes one device which serves the OHCI and the EHCI controller at the
      same time. This driver probes for this USB controller and creates and
      registers two new platform devices which will be probed by the new
      generic platform device driver. This makes it possible to use the EHCI
      and the OCHI controller on the ssb bus at the same time.
      
      The old ssb OHCI USB driver will be removed in the next step as this
      driver also provide an OHCI driver and an EHCI for the cores supporting
      it.
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7043c2cc
    • H
      USB: Add driver for the bcma bus · 62e11d1b
      Hauke Mehrtens 提交于
      This adds a USB driver using the generic platform device driver for the
      USB controller found on the Broadcom bcma bus. The bcma bus just
      exposes one device which serves the OHCI and the EHCI controller at the
      same time. This driver probes for this USB controller and creates and
      registers two new platform devices which will be probed by the new
      generic platform device driver. This makes it possible to use the EHCI
      and the OCHI controller on the bcma bus at the same time.
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      62e11d1b
  2. 11 4月, 2012 10 次提交
  3. 06 4月, 2012 1 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
  4. 05 4月, 2012 5 次提交
  5. 31 3月, 2012 1 次提交
  6. 29 3月, 2012 1 次提交
  7. 28 3月, 2012 1 次提交
  8. 26 3月, 2012 2 次提交
  9. 24 3月, 2012 6 次提交
  10. 21 3月, 2012 5 次提交
  11. 17 3月, 2012 3 次提交
  12. 16 3月, 2012 3 次提交