public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: torvalds@osdl.org, akpm@osdl.org, jgarzik@pobox.com
Cc: linux-usb-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, sensors@Stimpy.netroedge.com
Subject: [BK PATCH] Some driver changes for 2.6.6 (msleep)
Date: Tue, 18 May 2004 17:20:00 -0700	[thread overview]
Message-ID: <20040519002000.GA11409@kroah.com> (raw)

Hi,

Based on the previous USB changes creating a useful sleep function that
all drivers can use, Jeff Garzik suggested that I make it available to
all of the kernel.  Doing this enabled me to remove a lot of local
driver functions that all did the same thing (and some of them did it
wrong, like the i2c code...)  Anyway, here is the result of this
cleanup, it's been discussed on lkml as to the name and location of the
function.

Please pull from:  bk://kernel.bkbits.net/gregkh/linux/usb-2.6

Patches will be posted to linux-usb-devel as a follow-up thread for
those who want to see them.

thanks,

greg k-h

 drivers/block/carmel.c              |    6 ------
 drivers/i2c/busses/i2c-ali1535.c    |    5 +++--
 drivers/i2c/busses/i2c-ali1563.c    |    5 +++--
 drivers/i2c/busses/i2c-ali15x3.c    |    5 +++--
 drivers/i2c/busses/i2c-amd756.c     |    7 ++++---
 drivers/i2c/busses/i2c-amd8111.c    |    2 +-
 drivers/i2c/busses/i2c-i801.c       |    7 ++++---
 drivers/i2c/busses/i2c-piix4.c      |    3 ++-
 drivers/i2c/busses/i2c-sis5595.c    |    3 ++-
 drivers/i2c/busses/i2c-sis630.c     |    3 ++-
 drivers/i2c/busses/i2c-sis96x.c     |    3 ++-
 drivers/i2c/busses/i2c-viapro.c     |    3 ++-
 drivers/i2c/chips/w83l785ts.c       |    3 ++-
 drivers/input/gameport/ns558.c      |    5 +++--
 drivers/input/gameport/vortex.c     |    3 ++-
 drivers/input/joystick/adi.c        |    6 +++---
 drivers/input/joystick/analog.c     |    6 +++---
 drivers/input/joystick/gf2k.c       |    4 ++--
 drivers/macintosh/therm_pm72.c      |   17 +++++------------
 drivers/net/irda/stir4200.c         |    5 +++--
 drivers/scsi/libata-core.c          |   17 -----------------
 drivers/usb/core/hub.c              |   14 +++++++-------
 drivers/usb/core/usb.c              |   11 -----------
 drivers/usb/host/ehci-hcd.c         |    6 +++---
 drivers/usb/host/ehci-hub.c         |    2 +-
 drivers/usb/host/ehci.h             |    6 ------
 drivers/usb/host/ohci-hcd.c         |    4 ++--
 drivers/usb/host/ohci-hub.c         |    4 ++--
 drivers/usb/host/ohci-pci.c         |    6 +++---
 drivers/usb/host/ohci.h             |    6 ------
 drivers/usb/input/aiptek.c          |    2 +-
 drivers/usb/misc/usbtest.c          |    2 +-
 drivers/usb/net/usbnet.c            |    2 +-
 drivers/usb/serial/io_ti.c          |    4 ++--
 drivers/usb/storage/datafab.c       |    2 +-
 drivers/usb/storage/isd200.c        |    4 ++--
 drivers/usb/storage/jumpshot.c      |    2 +-
 drivers/usb/storage/shuttle_usbat.c |   14 +++++++-------
 drivers/video/aty/radeon_base.c     |    2 +-
 drivers/video/aty/radeon_i2c.c      |   16 ++++++++--------
 drivers/video/aty/radeonfb.h        |    9 ---------
 include/linux/delay.h               |    2 ++
 include/linux/gameport.h            |    6 ------
 include/linux/i2c.h                 |    7 -------
 include/linux/usb.h                 |   13 -------------
 kernel/timer.c                      |   17 +++++++++++++++++
 sound/oss/dmasound/dac3550a.c       |    5 +++--
 sound/oss/dmasound/dmasound.h       |    6 ------
 sound/oss/dmasound/dmasound_awacs.c |   30 +++++++++++++++---------------
 sound/oss/trident.c                 |    2 +-
 sound/pci/au88x0/au88x0_game.c      |    3 ++-
 51 files changed, 134 insertions(+), 193 deletions(-)
-----

Greg Kroah-Hartman:
  o Some more misc wait_ms() conversions to use msleep()
  o Input: remove wait_ms() in place of using msleep()
  o I2C: change i2c_delay() to use msleep() instead
  o USB: remove wait_ms() from usb.h as it's no longer needed
  o USB: remove ehci and ohci's private sleep function and use msleep() instead
  o USB: clean up usages of wait_ms() now that we have msleep()
  o USB: remove usb_uninterruptible_sleep_ms() now that we have msleep()
  o Remove libata's version of msleep()
  o Delete block/carmel.c's version of msleep()
  o Add msleep function to the kernel core to prevent duplication


                 reply	other threads:[~2004-05-19  0:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040519002000.GA11409@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@osdl.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=sensors@Stimpy.netroedge.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox