aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/class.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04class: fix use-after-free in class_register()Jing Xia1-0/+1
2023-10-21driver core: class: remove boilerplate codeMaurizio Lombardi1-4/+2
2023-05-19driver core: class: properly reference count class_dev_iter()Greg Kroah-Hartman1-0/+2
2023-04-03driver core: class: remove struct class_interface * from callbacksGreg Kroah-Hartman1-2/+2
2023-04-03driver core: class: mark the struct class in struct class_interface constantGreg Kroah-Hartman1-1/+1
2023-04-03driver core: class: make class_register() take a const *Greg Kroah-Hartman1-3/+3
2023-04-03driver core: class: mark class_release() as taking a const *Greg Kroah-Hartman1-1/+1
2023-04-01driver core: class: fix slab-use-after-free Read in class_register()Greg Kroah-Hartman1-0/+1
2023-03-31driver core: class: remove dev_kobj from struct classGreg Kroah-Hartman1-4/+0
2023-03-31driver core: class: remove subsystem private pointer from struct classGreg Kroah-Hartman1-4/+0
2023-03-31driver core: create class_is_registered()Greg Kroah-Hartman1-0/+25
2023-03-31driver core: core: move to use class_to_subsys()Greg Kroah-Hartman1-1/+1
2023-03-29driver core: class.c: convert to only use class_to_subsysGreg Kroah-Hartman1-52/+61
2023-03-29driver core: class: implement class_get/put without the private pointer.Greg Kroah-Hartman1-18/+63
2023-03-29driver core: class: mark the struct class for sysfs callbacks as constantGreg Kroah-Hartman1-2/+2
2023-03-28driver core: bus: constify class_unregister/destroy()Greg Kroah-Hartman1-4/+4
2023-03-27driver core: class: fix documentation for class_create()Greg Kroah-Hartman1-1/+0
2023-03-24driver core: class: use lock_class_key already present in struct subsys_privateGreg Kroah-Hartman1-6/+9
2023-03-17driver core: class: make class_create/remove_file*() options constGreg Kroah-Hartman1-2/+2
2023-03-17driver core: class: make class_find_device*() options constGreg Kroah-Hartman1-1/+1
2023-03-17driver core: class: make class_for_each_device() options constGreg Kroah-Hartman1-1/+1
2023-03-17driver core: class: make class_dev_iter_init() options constGreg Kroah-Hartman1-2/+2
2023-03-17driver core: class: remove struct module owner out of struct classGreg Kroah-Hartman1-6/+3
2023-03-17driver core: class: specify the module owner in __class_register()Greg Kroah-Hartman1-3/+3
2023-03-07driver core: class: fix block class problem when removing CONFIG_SYSFS_DEPREC...Greg Kroah-Hartman1-6/+0
2023-03-06driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2Greg Kroah-Hartman1-1/+1
2023-02-14driver core: class: move EXPORT_SYMBOL_GPL() lines to the correct placeGreg Kroah-Hartman1-8/+6
2023-02-08driver core: make kobj_type structures constantThomas Weißschuh1-1/+1
2023-01-23driver core: class: Clear private pointer on registration failuresRafael J. Wysocki1-5/+11
2023-01-11driver core: change to_subsys_private() to use container_of_const()Greg Kroah-Hartman1-1/+1
2022-11-22kobject: make kobject_get_ownership() take a constant kobject *Greg Kroah-Hartman1-1/+1
2022-11-09class: fix possible memory leak in __class_register()Yang Yingliang1-0/+5
2022-09-01class: use IS_ERR_OR_NULL() helper in class_unregister()Yang Yingliang1-1/+1
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+1
2020-11-09drivers: base: fix some kernel-doc markupsMauro Carvalho Chehab1-1/+1
2020-10-02drivers core: Miscellaneous changes for sysfs_emitJoe Perches1-1/+1
2019-12-16device.h: move 'struct class' stuff out to device/class.hGreg Kroah-Hartman1-0/+1
2019-01-18driver core: move device->knode_class to device_privateWei Yang1-4/+10
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-06-09driver core: remove class_attrs from struct classGreg Kroah-Hartman1-33/+0
2016-11-29driver core: class: add class_groups supportGreg Kroah-Hartman1-0/+15
2015-09-29class_find_device: fix reference to argument "match"Rolf Eike Beer1-1/+1
2015-03-25drivers: base: class: Add a blank line after declarationsCosmin Tomulescu1-0/+2
2013-09-26sysfs: make attr namespace interface less convolutedTejun Heo1-20/+9
2013-08-22sysfs.h: remove attr_name() macroGreg Kroah-Hartman1-2/+2
2013-02-06driver-core: constify data for class_find_device()Michał Mirosław1-2/+2
2011-12-14driver-core: implement 'sysdev' functionality for regular devices and busesKay Sievers1-7/+7
2011-10-19class: Implement support for class attrs in tagged sysfs directories.Eric W. Biederman1-2/+15
2010-11-17driver-core: merge private parts of class and busKay Sievers1-19/+19
2010-11-10driver core: fix whitespace in class_attr_stringBrandon Philips1-2/+2
2010-10-22SYSFS: Allow boot time switching between deprecated and modern sysfs layoutAndi Kleen1-2/+2
2010-10-22driver core: remove CONFIG_SYSFS_DEPRECATED_V2 but keep it for block devicesKay Sievers1-19/+0
2010-05-21kobj: Add basic infrastructure for dealing with namespaces.Eric W. Biederman1-0/+9
2010-03-19driver-core: document ERR_PTR() return valuesJani Nikula1-0/+2
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-1/+1
2010-03-07driver core: Add class_attr_string for simple read-only stringAndi Kleen1-0/+10
2010-03-07driver-core: Add attribute argument to class_attribute show/storeAndi Kleen1-2/+2
2010-02-16class: Free the class private data in class_releaseLaurent Pinchart1-0/+2
2009-09-15Driver core: Add support for compatibility classesJean Delvare1-0/+87
2008-10-09driver-core: use klist for class device list and implement iteratorTejun Heo1-33/+103
2008-08-21driver model: anti-oopsing medicineDavid Brownell1-0/+11
2008-07-28locking: fix mutex @key parameter kernel-doc notationRandy Dunlap1-0/+1
2008-07-21class: change internal semaphore to a mutexDave Young1-11/+12
2008-07-21class: add lockdep infrastructureMatthew Wilcox1-5/+6
2008-07-21class: rename "sem" to "class_sem" in internal class structureGreg Kroah-Hartman1-11/+11
2008-07-21class: rename "subsys" to "class_subsys" in internal class structureGreg Kroah-Hartman1-11/+12
2008-07-21class: rename "interfaces" to "class_interfaces" in internal class structureGreg Kroah-Hartman1-2/+2
2008-07-21class: rename "devices" to "class_devices" in internal class structureGreg Kroah-Hartman1-5/+5
2008-07-21class: move driver core specific parts to a private structureGreg Kroah-Hartman1-39/+48
2008-07-21Driver Core: add ability for class_find_device to start in middle of listGreg Kroah-Hartman1-9/+13
2008-07-21Driver Core: add ability for class_for_each_device to start in middle of listGreg Kroah-Hartman1-8/+13
2008-07-21sysfs: add /sys/dev/{char,block} to lookup sysfs path by major:minorDan Williams1-0/+4
2008-05-14Driver core: struct class remove children listDave Young1-1/+0
2008-04-30driver core: remove no longer used "struct class_device"Kay Sievers1-637/+1
2008-04-19driver core: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-4/+4
2008-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6Linus Torvalds1-1/+1
2008-01-31docbook: fix drivers/base/class warningRandy Dunlap1-1/+1
2008-01-27Driver core: Fix up build when CONFIG_BLOCK=NGreg Kroah-Hartman1-1/+1
2008-01-24Driver core: coding style fixesGreg Kroah-Hartman1-70/+70
2008-01-24Driver Core: add class iteration apiDave Young1-0/+133
2008-01-24Driver core: change sysdev classes to use dynamic kobject namesKay Sievers1-1/+1
2008-01-24Kobject: rename kobject_init_ng() to kobject_init()Greg Kroah-Hartman1-1/+1
2008-01-24Kobject: rename kobject_add_ng() to kobject_add()Greg Kroah-Hartman1-2/+2
2008-01-24Driver core: convert block from raw kobjects to core devicesKay Sievers1-0/+7
2008-01-24Kobject: convert drivers/base/class.c to use kobject_init/add_ng()Greg Kroah-Hartman1-7/+3
2008-01-24kobject: remove subsystem_(un)register functionsGreg Kroah-Hartman1-2/+2
2008-01-24kset: remove decl_subsys macroGreg Kroah-Hartman1-2/+9
2008-01-24kset: convert drivers/base/class.c to use kset_createGreg Kroah-Hartman1-7/+5
2008-01-24kobject: remove struct kobj_type from struct ksetGreg Kroah-Hartman1-3/+5
2007-10-31Revert "Driver core: remove class_device_*_bin_file"Greg Kroah-Hartman1-0/+18
2007-10-30Driver core: remove class_device_*_bin_fileGreg Kroah-Hartman1-18/+0
2007-10-12Driver core: rename ktype_classGreg Kroah-Hartman1-5/+5
2007-10-12driver core: remove subsystem_init()Greg Kroah-Hartman1-1/+1
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/+1
2007-10-12Driver core: change add_uevent_var to use a structKay Sievers1-32/+10
2007-07-11driver-core: make devt_attr and uevent_attr staticTejun Heo1-28/+16
2007-07-11sysfs: kill unnecessary attribute->ownerTejun Heo1-2/+0
2007-06-08Driver core: keep PHYSDEV for old struct class_deviceKay Sievers1-38/+21
2007-05-02remove "struct subsystem" as it is no longer neededGreg Kroah-Hartman1-10/+8
2007-04-27driver core: fix namespace issue with devices assigned to classesKay Sievers1-1/+1
2007-02-23Driver core: remove class_device_renameGreg Kroah-Hartman1-42/+0
2007-02-16Driver: remove redundant kobject_unregister checksMariusz Kozlowski1-2/+1
2007-02-07driver core fixes: make_class_name() retval checksCornelia Huck1-7/+14
2006-12-13driver core: delete virtual directory on class_unregister()Akinobu Mita1-0/+2
2006-12-01CONFIG_SYSFS_DEPRECATED - class symlinksKay Sievers1-51/+98
2006-12-01Driver Core: Move virtual_device_parent() to core.cGreg Kroah-Hartman1-17/+0
2006-10-18driver core fixes: sysfs_create_link() retval check in class.cCornelia Huck1-1/+4
2006-09-29[PATCH] Fix parameter names in drivers/base/class.cRolf Eike Beer1-4/+4
2006-09-25Class: add support for class interfaces for devicesGreg Kroah-Hartman1-0/+10
2006-09-25Driver core: create devices/virtual/ treeGreg Kroah-Hartman1-0/+17
2006-09-25Driver core: add const to class_createMiguel Ojeda Sandonis1-1/+1
2006-09-25class_device_create(): make fmt argument 'const char *'Dmitry Torokhov1-1/+2
2006-09-25deprecate PHYSDEV* keysKay Sievers1-1/+1
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: allow struct device to have a dev_tGreg Kroah-Hartman1-0/+1
2006-06-21[PATCH] Driver core: change make_class_name() to take kobjectsGreg Kroah-Hartman1-14/+17
2006-06-21[PATCH] Driver Core: remove unused exportsGreg Kroah-Hartman1-4/+2
2006-06-21[PATCH] Driver core: class_device_add needs error checksStephen Hemminger1-18/+54
2006-05-06[CLASS DEVICE]: add attribute_group creationStephen Hemminger1-0/+32
2006-04-14[PATCH] driver core: fix unnecessary NULL check in drivers/base/class.cJayachandran C1-7/+6
2006-01-04[PATCH] driver core: replace "hotplug" by "uevent"Kay Sievers1-33/+33
2005-10-30[PATCH] fix missing includesTim Schmielau1-0/+1
2005-10-28[PATCH] Driver Core: add the ability for class_device structures to be nestedGreg Kroah-Hartman1-44/+81
2005-10-28[PATCH] add sysfs attr to re-emit device hotplug eventKay Sievers1-2/+14
2005-10-28[PATCH] Driver core: pass interface to class interface methodsDmitry Torokhov1-4/+4
2005-10-28[PATCH] Driver core: send hotplug event before adding class interfacesDmitry Torokhov1-1/+2
2005-09-22[PATCH] fix class symlinks in sysfsBill Nottingham1-0/+13
2005-09-13[PATCH] drivers/base/*: use kzalloc instead of kmalloc+memsetJiri Slaby1-6/+4
2005-09-05[PATCH] Driver core: small cleanup; remove check for NULL before kfree() in d...Jesper Juhl1-4/+2
2005-09-05[PATCH] Driver core: link device and all class devices derived from it.Dmitry Torokhov1-2/+31
2005-08-16[PATCH] Driver core: potentially fix use after free in class_device_attr_showManeesh Soni1-4/+6
2005-06-20[PATCH] class: add kerneldoc for the new class functions.gregkh@suse.de1-0/+43
2005-06-20[PATCH] CLASS: move a "simple" class logic into the class core.gregkh@suse.de1-11/+134
2005-06-20[PATCH] sysfs: (driver/base) if show/store is missing return -EIODmitry Torokhov1-2/+2
2005-06-20[PATCH] kset_hotplug_ops->name shoudl return const char *Dmitry Torokhov1-1/+1
2005-04-18[PATCH] kobject/hotplug split - class corekay.sievers@vrfy.org1-0/+2
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+591