/* * UWB Multi-interface Controller driver management. * * Copyright (C) 2007 Cambridge Silicon Radio Ltd. * * This file is released under the GNU GPL v2. */ #include #include #include int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, const char *mod_name) { umc_drv->driver.name = umc_drv->name; umc_drv->driver.owner = module; umc_drv->driver.mod_name = mod_name; umc_drv->driver.bus = &umc_bus_type; return driver_register(&umc_drv->driver); } EXPORT_SYMBOL_GPL(__umc_driver_register); /** * umc_driver_register - unregister a UMC capabiltity driver. * @umc_drv: pointer to the driver. */ void umc_driver_unregister(struct umc_driver *umc_drv) { driver_unregister(&umc_drv->driver); } EXPORT_SYMBOL_GPL(umc_driver_unregister); form'>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
b'>debugfs.h
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2016-12-08 15:22:58 +0100
committerJonathan Cameron <jic23@kernel.org>2016-12-30 10:52:00 +0000
commit01d1f7a99e457952aa51849ed7c1cc4ced7bca4b (patch)
treebf2b6b2629fc043833ed126e72b2f15c52acf85e /net/mac80211/debugfs.h
parente91c3dfcd3ff88218c972cb24f932c4d434bbb09 (diff)
iio: bmi160: Fix time needed to sleep after command execution
Datasheet specifies typical and maximum execution times for which CMD register is occupied after previous command execution. We took these values as minimum and maximum time for usleep_range() call before making a new command execution. To be sure, that the CMD register is no longer occupied we need to wait *at least* the maximum time specified by datasheet. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'net/mac80211/debugfs.h')