aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-21driver core: bus: constantify subsys_register() callsGreg Kroah-Hartman1-3/+3
2023-12-21driver core: bus: make bus_sort_breadthfirst() take a const pointerGreg Kroah-Hartman1-1/+1
2023-03-23driver core: bus: constify bus_get()Greg Kroah-Hartman1-3/+3
2023-03-23driver core: bus: constify driver_find()Greg Kroah-Hartman1-1/+1
2023-03-23driver core: bus: constify bus_rescan_devices()Greg Kroah-Hartman1-1/+1
2023-03-23driver core: bus: constantify bus_register()Greg Kroah-Hartman1-1/+1
2023-03-23driver core: bus: mark the struct bus_type for sysfs callbacks as constantGreg Kroah-Hartman1-4/+4
2023-03-23driver core: bus: move dev_root out of struct bus_typeGreg Kroah-Hartman1-6/+22
2023-02-25driver core: bus: Handle early calls to bus_to_subsys()Geert Uytterhoeven1-1/+1
2023-02-10driver core: bus: update my copyright noticeGreg Kroah-Hartman1-0/+1
2023-02-10driver core: bus: add bus_get_dev_root() functionGreg Kroah-Hartman1-0/+20
2023-02-09driver core: bus: constify bus_unregister()Greg Kroah-Hartman1-1/+1
2023-02-09driver core: bus: constify some internal functionsGreg Kroah-Hartman1-2/+2
2023-02-09driver core: bus: constify bus_get_kset()Greg Kroah-Hartman1-1/+1
2023-02-09driver core: bus: constify bus_register/unregister_notifier()Greg Kroah-Hartman1-2/+2
2023-02-09driver core: remove private pointer from struct bus_typeGreg Kroah-Hartman1-4/+0
2023-02-09driver core: create bus_is_registered()Greg Kroah-Hartman1-0/+16
2023-02-09driver core: bus: clean up driver_find()Greg Kroah-Hartman1-8/+15
2023-02-09driver core: move driver_find() to bus.cGreg Kroah-Hartman1-0/+27
2023-02-09driver core: bus: clean up bus_sort_breadthfirst()Greg Kroah-Hartman1-6/+5
2023-02-09driver core: bus: bus iterator cleanupsGreg Kroah-Hartman1-6/+12
2023-02-09driver core: bus: bus_add/remove_driver() cleanupsGreg Kroah-Hartman1-13/+26
2023-02-09driver core: bus: bus_register/unregister_notifier() cleanupsGreg Kroah-Hartman1-5/+23
2023-02-09driver core: bus: bus_get_kset() cleanupGreg Kroah-Hartman1-1/+10
2023-02-09driver core: bus: subsys_interface_register/unregister() cleanupsGreg Kroah-Hartman1-16/+29
2023-02-09driver core: bus: bus_register/unregister() cleanupsGreg Kroah-Hartman1-28/+26
2023-02-09driver core: bus: bus_add/probe/remove_device() cleanupsGreg Kroah-Hartman1-33/+54
2023-02-09driver core: bus: sysfs function cleanupsGreg Kroah-Hartman1-6/+29
2023-02-09driver core: bus: convert bus_create/remove_file to be constantGreg Kroah-Hartman1-11/+17
2023-02-09driver core: bus: constantify the bus_find_* functionsGreg Kroah-Hartman1-3/+3
2023-02-09driver core: bus: implement bus_get/put() without the private pointerGreg Kroah-Hartman1-8/+53
2023-02-08driver core: make kobj_type structures constantThomas Weißschuh1-2/+2
2023-02-01driver core: bus: move lock_class_key into dynamic structureGreg Kroah-Hartman1-1/+4
2023-01-18driver core: bus: move bus notifier logic into bus.cGreg Kroah-Hartman1-0/+8
2023-01-10driver core: move struct subsys_dev_iter to a local fileGreg Kroah-Hartman1-0/+5
2023-01-10driver core: make subsys_dev_iter_exit() staticGreg Kroah-Hartman1-2/+1
2023-01-10driver core: make subsys_dev_iter_next() staticGreg Kroah-Hartman1-2/+1
2023-01-10driver core: make subsys_dev_iter_init() staticGreg Kroah-Hartman1-3/+2
2023-01-10driver core: remove subsys_find_device_by_id()Greg Kroah-Hartman1-41/+0
2023-01-10driver core: make bus_get_device_klist() staticGreg Kroah-Hartman1-2/+1
2022-11-22kobject: kset_uevent_ops: make filter() callback take a const *Greg Kroah-Hartman1-1/+1
2022-05-19driver: base: fix UAF when driver_attach failedSchspa Shi1-1/+3
2021-12-28kobject: remove kset from struct kset_uevent_ops callbacksGreg Kroah-Hartman1-1/+1
2021-12-27driver core: make kobj_type constant.Wedson Almeida Filho1-1/+1
2021-07-21driver: base: Replace symbolic permissions with octal permissionsJinchao Wang1-3/+3
2021-06-21driver core: Flow the return code from ->probe() through to sysfs bindChristoph Hellwig1-5/+1
2021-06-21driver core: Pull required checks into driver_probe_device()Jason Gunthorpe1-1/+1
2021-01-27drivers: base: change 'driver_create_groups' to 'driver_add_groups' in printkJoe Pater1-1/+1
2021-01-07drivers: base: remove unused function find_bus()Joe Pater1-17/+0
2020-10-02drivers core: Miscellaneous changes for sysfs_emitJoe Perches1-1/+1
2019-12-16device.h: move 'struct bus' stuff out to device/bus.hGreg Kroah-Hartman1-0/+1
2019-07-30drivers: Introduce device lookup variants by nameSuzuki K Poulose1-24/+0
2019-06-24bus_find_device: Unify the match callback with class_find_deviceSuzuki K Poulose1-3/+3
2019-01-31driver core: Probe devices asynchronously instead of the driverAlexander Duyck1-20/+3
2019-01-31device core: Consolidate locking and unlocking of parent and deviceAlexander Duyck1-19/+4
2019-01-08driver core: drop use of BUS_ATTR()Greg Kroah-Hartman1-1/+8
2019-01-08driver core: bus: convert to use BUS_ATTR_WO and RWGreg Kroah-Hartman1-6/+5
2018-12-19sysfs: Disable lockdep for driver bind/unbind filesDaniel Vetter1-2/+5
2018-12-06kobject: return error code if writing /sys/.../uevent failsPeter Rajnoha1-4/+8
2018-05-31driver core: hold dev's parent lock when neededMartin Liu1-8/+8
2017-12-18drivers: base: omit redundant interationsGimcuan Hui1-1/+1
2017-12-07driver core: Remove redundant license textGreg Kroah-Hartman1-3/+0
2017-12-07driver core: add SPDX identifiers to all driver core filesGreg Kroah-Hartman1-0/+1
2017-08-31driver core: bus: Fix a potential double freeChristophe JAILLET1-1/+1
2017-06-12driver-core: remove struct bus_type.dev_attrsGreg Kroah-Hartman1-36/+1
2017-05-25kobject: support passing in variables for synthetic ueventsPeter Rajnoha1-8/+2
2016-02-09driver core: bus: use to_subsys_private and to_device_private_busGeliang Tang1-3/+2
2016-02-09driver core: bus: use list_for_each_entry*Geliang Tang1-7/+3
2015-05-20driver-core: add asynchronous probing support for driversDmitry Torokhov1-8/+23
2015-03-25driver core: bus: Goto appropriate labels on failure in bus_add_deviceJunjie Mao1-2/+2
2014-11-07driver core: Fix unbalanced device reference in drivers_probeAlex Williamson1-3/+5
2014-02-20Merge branch 'master' into for-nextJiri Kosina1-2/+11
2014-02-19treewide: Fix typo in Documentation/DocBookMasanari Iida1-1/+1
2014-01-08driver-core: Fix use-after-free triggered by bus_unregister()Bart Van Assche1-2/+11
2013-09-28driver-core: remove struct bus_type.drv_attrsGreg Kroah-Hartman1-38/+2
2013-09-28driver-core: remove struct bus_type.bus_attrsGreg Kroah-Hartman1-42/+0
2013-08-27driver core: add #include <linux/sysfs.h> to core files.Greg Kroah-Hartman1-0/+1
2013-08-23driver core: bus: use DRIVER_ATTR_WO()Greg Kroah-Hartman1-9/+9
2013-08-22sysfs.h: remove attr_name() macroGreg Kroah-Hartman1-6/+6
2013-08-21sysfs: add sysfs_create/remove_groups()Greg Kroah-Hartman1-21/+2
2013-08-12driver core: bus_type: add bus_groupsGreg Kroah-Hartman1-0/+37
2013-08-12driver core: bus_type: add drv_groupsGreg Kroah-Hartman1-0/+5
2013-08-12driver core: bus_type: add dev_groupsGreg Kroah-Hartman1-0/+6
2013-05-21driver core: export subsys_virtual_registerGreg Kroah-Hartman1-0/+1
2013-04-29Merge branch 'for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-21/+52
2013-03-13device: separate all subsys mutexesMichal Hocko1-4/+4
2013-03-12driver/base: implement subsys_virtual_register()Tejun Heo1-21/+52
2013-02-03Driver core: treat unregistered bus_types as having no devicesBjorn Helgaas1-2/+2
2013-01-17driver core: fix possible missing of device probeMing Lei1-1/+1
2012-11-28driver core: remove CONFIG_HOTPLUG ifdefsBill Pemberton1-14/+0
2012-07-16driver core: move uevent call to driver_registerSebastian Ott1-1/+0
2012-04-19Revert "driver core: check start node in klist_iter_init_node"Greg Kroah-Hartman1-29/+17
2012-04-18driver core: check start node in klist_iter_init_nodeHannes Reinecke1-17/+29
2012-04-18drivers/base/bus.c: local variables should not be exposed globallyH Hartley Sweeten1-2/+1
2012-02-02Merge 3.3-rc2 into the driver-core-next branch.Greg Kroah-Hartman1-4/+5
2012-01-24driver-core: Fix possible null reference in subsys_interface_unregisterJonghwan Choi1-2/+4
2012-01-23kernel-doc: fix new warnings in driver-coreRandy Dunlap1-4/+5
2011-12-14driver-core: implement 'sysdev' functionality for regular devices and busesKay Sievers1-19/+274
2011-01-13Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Linus Torvalds1-1/+1
2010-11-21Fix "forcably" comment typoRobert P. J. Day1-1/+1
2010-11-17driver-core: merge private parts of class and busKay Sievers1-7/+6
2010-10-22driver core: remove CONFIG_SYSFS_DEPRECATED_V2 but keep it for block devicesKay Sievers1-22/+0
2010-08-05driver core: fix memory leak on one error path in bus_register()Jike Song1-1/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-07Driver core: create lock/unlock functions for struct deviceGreg Kroah-Hartman1-10/+10
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-2/+2
2010-03-07kobject: Constify struct kset_uevent_opsEmese Revfy1-1/+1
2009-12-23driver core: Prevent reference to freed memory on error pathPhil Carmody1-1/+1
2009-10-30Driver core: allow certain drivers prohibit bind/unbind via sysfsDmitry Torokhov1-6/+11
2009-09-15Driver core: add new device to bus's list before probingAlan Stern1-13/+10
2009-06-12trivial: fix grammo in bus_for_each_dev() kerneldocAlex Chiang1-1/+1
2009-05-28Driver Core: do not oops when driver_unregister() is called for unregistered ...Kay Sievers1-1/+3
2009-03-24driver core: move knode_bus into private structureGreg Kroah-Hartman1-13/+27
2009-03-24driver-core: do not register a driver with bus_type not registeredDave Young1-0/+2
2009-03-24driver core: check bus->match without holding device lockMing Lei1-1/+1
2009-01-09Revert "driver core: move knode_bus into private structure"Greg Kroah-Hartman1-27/+13
2009-01-06driver core: move knode_bus into private structureGreg Kroah-Hartman1-13/+27
2009-01-06driver core: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-6/+6
2008-10-16Driver core: add bus_sort_breadthfirst() functionGreg Kroah-Hartman1-0/+50
2008-10-16Driver core: make bus_find_device_by_name() more robustPeter Korsgaard1-3/+1
2008-04-22bus_remove_device: be more careful about incomplete initializationRafael J. Wysocki1-1/+2
2008-04-19driver core: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-4/+4
2008-04-19Driver core: make device_is_registered() work for class devicesGreg Kroah-Hartman1-7/+2
2008-02-21Driver core: Fix error handling in bus_add_driver().Cornelia Huck1-4/+5
2008-01-27Driver core: add bus_find_device_by_name functionGreg Kroah-Hartman1-12/+29
2008-01-24Driver core: coding style fixesGreg Kroah-Hartman1-150/+140
2008-01-24Kobject: convert drivers/* from kobject_unregister() to kobject_put()Greg Kroah-Hartman1-2/+2
2008-01-24Kobject: change drivers/base/bus to use kobject_init_and_addGreg Kroah-Hartman1-6/+4
2008-01-24Driver core: clean up debugging messagesGreg Kroah-Hartman1-7/+7
2008-01-24Driver core: move the static kobject out of struct driverGreg Kroah-Hartman1-32/+39
2008-01-24driver core: remove fields from struct bus_typeGreg Kroah-Hartman1-51/+65
2008-01-24driver core: add way to get to bus device klistGreg Kroah-Hartman1-0/+6
2008-01-24driver core: add way to get to bus ksetGreg Kroah-Hartman1-0/+6
2008-01-24kobject: remove subsystem_(un)register functionsGreg Kroah-Hartman1-3/+3
2008-01-24kset: convert struct bus_device->drivers to use kset_createGreg Kroah-Hartman1-7/+8
2008-01-24kset: convert struct bus_device->devices to use kset_createGreg Kroah-Hartman1-9/+10
2008-01-24kset: convert drivers/base/bus.c to use kset_createGreg Kroah-Hartman1-4/+7
2008-01-24kobject: remove struct kobj_type from struct ksetGreg Kroah-Hartman1-2/+3
2007-10-12Driver core: rename ktype_driverGreg Kroah-Hartman1-2/+2
2007-10-12Driver core: add uevent file for bus and driverKay Sievers1-0/+35
2007-10-12Driver core: remove get_bus()Greg Kroah-Hartman1-12/+12
2007-10-12Driver core: remove put_bus()Greg Kroah-Hartman1-15/+14
2007-10-12Driver core: remove subsys_get()Greg Kroah-Hartman1-1/+1
2007-10-12Driver core: remove subsys_put()Greg Kroah-Hartman1-1/+1
2007-10-12Driver core: remove subsys_set_ksetGreg Kroah-Hartman1-1/+2
2007-10-12Driver core: make sysfs uevent-attributes staticKay Sievers1-12/+9
2007-07-11sysfs: kill unnecessary attribute->ownerTejun Heo1-2/+0
2007-07-11Driver core: coding style cleanupCornelia Huck1-2/+4
2007-07-11Driver core: add missing kset ueventKay Sievers1-2/+14
2007-05-02remove "struct subsystem" as it is no longer neededGreg Kroah-Hartman1-8/+8
2007-04-27driver core: bus_add_driver should return an error if no busGreg Kroah-Hartman1-1/+1
2007-04-27Driver core: remove unneeded completion from driver release pathGreg Kroah-Hartman1-2/+13
2007-04-27driver core: don't fail attaching the device if it cannot be boundCornelia Huck1-7/+4
2007-04-27Driver core: udev triggered device-<>driver bindingKay Sievers1-6/+78
2007-02-16Driver core: device_add_attrs() cleanupAndrew Morton1-12/+10
2006-12-01CONFIG_SYSFS_DEPRECATED - bus symlinksKay Sievers1-3/+17
2006-12-01Driver core: add notification of bus eventsBenjamin Herrenschmidt1-0/+14
2006-10-18Driver core: bus: remove indentation levelJeff Garzik1-37/+40
2006-10-18Driver core: Don't ignore error returns from probingAlan Stern1-2/+4
2006-10-18driver core fixes: bus_add_device() cleanup on errorCornelia Huck1-4/+15
2006-10-18driver core fixes: bus_add_attrs() retval checkCornelia Huck1-1/+5
2006-09-25Driver core: Remove unneeded routines from driver coreAlan Stern1-17/+1
2006-09-25Driver core: Fix potential deadlock in driver coreAlan Stern1-2/+6
2006-09-25drivers/base: check errorsAndrew Morton1-35/+72
2006-09-25Driver core: fixed add_bind_files() definitionYoichi Yuasa1-1/+1
2006-07-12[PATCH] Driver core: bus.c cleanupsAdrian Bunk1-2/+3
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-21[PATCH] Driver core: add generic "subsystem" link to all devicesKay Sievers1-0/+2
2006-06-21[PATCH] Driver Core: remove unused exportsGreg Kroah-Hartman1-6/+0
2006-06-21[PATCH] Driver core: bus device event delayKay Sievers1-4/+18
2006-04-14[PATCH] driver core: driver_bind attribute returns incorrect valueRyan Wilson1-0/+5
2006-03-14[SCSI] drivers/base/bus.c - export reprobeMoore, Eric1-0/+22
2006-02-07[PATCH] drivers/base/bus.c warning fixesRussell King1-0/+3
2006-01-04[PATCH] Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabledGreg Kroah-Hartman1-4/+22
2006-01-04[PATCH] Hold the device's parent's lock during probe and removeAlan Stern1-1/+14
2005-11-23[PATCH] Small fixes to driver coreAlan Stern1-12/+9
2005-09-07[PATCH] fix klist semantics for lists which have elements removed on traversalJames Bottomley1-2/+32
2005-09-05[PATCH] klist: fix klist to have the same klist_add semantics as list_headJames Bottomley1-2/+2
2005-09-05[PATCH] Fix manual binding infinite loopGreg Kroah-Hartman1-1/+3
2005-08-17[PATCH] Fix manual binding infinite loopGreg KH1-1/+3
2005-06-29[PATCH] driver core: change bus_rescan_devices to return voidGreg Kroah-Hartman1-18/+9
2005-06-29[PATCH] driver core: Add the ability to bind drivers to devices from userspaceGreg Kroah-Hartman1-0/+26
2005-06-29[PATCH] driver core: Add the ability to unbind drivers to devices from userspaceGreg Kroah-Hartman1-0/+30
2005-06-29[PATCH] driver core: add bus_find_device & driver_find_device functionsCornelia Huck1-0/+34
2005-06-22[PATCH] driver core: Fix up the device_attach() error handling in bus_add_dev...Greg Kroah-Hartman1-3/+2
2005-06-20[PATCH] driver core: fix error handling in bus_add_deviceHannes Reinecke1-5/+8
2005-06-20[PATCH] Fix up bus code and remove use of rwsem.mochel@digitalimplant.org1-12/+0
2005-06-20[PATCH] Add a klist to struct bus_type for its drivers.mochel@digitalimplant.org1-29/+23
2005-06-20[PATCH] Add a klist to struct bus_type for its devices.mochel@digitalimplant.org1-30/+24
2005-06-20[PATCH] Move device/driver code to drivers/base/dd.cmochel@digitalimplant.org1-182/+0
2005-06-20[PATCH] Add a semaphore to struct device to synchronize calls to its driver.mochel@digitalimplant.org1-3/+11
2005-06-20[PATCH] sysfs: (driver/base) if show/store is missing return -EIODmitry Torokhov1-2/+2
2005-05-17[PATCH] Driver Core: remove driver model detach_stateDavid Brownell1-1/+0
2005-05-04[PATCH] drivers/base/bus.c: fix iteration in driver_detach()Roman Kagan1-3/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+770