aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/platform.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-07driver core: platform: Annotate struct irq_affinity_devres with __counted_byKees Cook1-1/+1
2023-10-05driver core: platform: Unify the firmware node type checkAndy Shevchenko1-11/+13
2023-10-05driver core: platform: Use temporary variable in platform_device_add()Andy Shevchenko1-11/+12
2023-10-05driver core: platform: Refactor error path in a couple placesAndy Shevchenko1-9/+10
2023-10-05driver core: platform: Drop redundant check in platform_device_add()Andy Shevchenko1-3/+0
2023-08-04of: Move of_platform_register_reconfig_notifier() into DT coreRob Herring1-1/+1
2023-02-01driver core: platform: simplify __platform_driver_probe()Greg Kroah-Hartman1-11/+15
2023-02-01driver core: platform: removed unneeded variable from __platform_driver_probe()Greg Kroah-Hartman1-4/+4
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-2/+2
2023-01-17platform: remove useless if-branch in __platform_get_irq_byname()Soha Jin1-5/+3
2023-01-17platform: Document platform_add_devices() return valueUmang Jain1-0/+2
2023-01-17platform: Provide a remove callback that returns no valueUwe Kleine-König1-1/+3
2022-11-10platform: use fwnode_irq_get_byname instead of of_irq_get_byname to get irqSoha Jin1-2/+2
2022-06-03Merge tag 'driver-core-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-26/+8
2022-04-28bus: platform,amba,fsl-mc,PCI: Add device DMA ownership managementLu Baolu1-0/+18
2022-04-28amba: Stop sharing platform_dma_configure()Lu Baolu1-2/+1
2022-04-27platform: finally disallow IRQ0 in platform_get_irq() and its ilkSergey Shtylyov1-2/+4
2022-04-22driver: platform: Add helper for safer setting of driver_overrideKrzysztof Kozlowski1-24/+4
2022-02-08platform: use dev_err_probe() in platform_get_irq_byname()Sergey Shtylyov1-3/+3
2021-12-22driver core: platform: document registration-failure requirementJohan Hovold1-0/+4
2021-11-27driver core: platform: Make use of the helper function dev_err_probe()Cai Huoqing1-2/+3
2021-09-14driver core: platform: Make use of the helper macro SET_RUNTIME_PM_OPS()Cai Huoqing1-2/+1
2021-08-18driver core: platform: Remove platform_device_add_properties()Heikki Krogerus1-18/+2
2021-07-21bus: Make remove callback return voidUwe Kleine-König1-3/+1
2021-06-04drivers/base: Constify static attribute_group structsRikard Falkeborn1-1/+1
2021-05-27driver core: Drop helper devm_platform_ioremap_resource_wc()Uwe Kleine-König1-20/+0
2021-04-07Revert "driver core: platform: Make platform_get_irq_optional() optional"Greg Kroah-Hartman1-34/+21
2021-04-02driver core: platform: Make platform_get_irq_optional() optionalAndy Shevchenko1-21/+34
2021-04-02driver core: platform: Make clear error code used for missed IRQAndy Shevchenko1-6/+5
2021-02-24Merge tag 'driver-core-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+7
2021-02-22Merge tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2021-02-12driver core: platform: Drop of_device_node_put() wrapperRob Herring1-1/+1
2021-02-09driver core: platform: Emit a warning if a remove callback returned non-zeroUwe Kleine-König1-4/+7
2021-01-12Merge tag 'irqchip-fixes-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel...Thomas Gleixner1-0/+2
2020-12-22driver core: platform: Add extra error check in devm_platform_get_irqs_affini...John Garry1-0/+2
2020-12-15Merge tag 'irq-core-2020-12-15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+121
2020-12-13driver core: platform: don't oops in platform_shutdown() on unbound devicesDmitry Baryshkov1-1/+5
2020-12-11driver core: platform: Add devm_platform_get_irqs_affinity()John Garry1-0/+121
2020-12-10driver core: platform: Introduce platform_get_mem_or_io()Andy Shevchenko1-0/+15
2020-12-09driver core: platform: use bus_type functionsUwe Kleine-König1-67/+65
2020-12-09driver core: platform: change logic implementing platform_driver_probeUwe Kleine-König1-3/+15
2020-12-09driver core: platform: reorder functionsUwe Kleine-König1-166/+167
2020-10-02drivers core: Miscellaneous changes for sysfs_emitJoe Perches1-7/+6
2020-10-02drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functionsJoe Perches1-2/+2
2020-09-10platform_device: switch to simpler IDA interfaceBartosz Golaszewski1-3/+3
2020-09-10driver core: platform: Document return type of more functionsStephen Boyd1-0/+14
2020-07-10driver core: platform: expose numa_node to users in sysfsBarry Song1-1/+25
2020-07-07driver core: platform: need consistent spacing around '-'Barry Song1-1/+1
2020-06-07Merge tag 'driver-core-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+4
2020-06-06Merge tag 'pci-v5.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-15/+25
2020-06-01Merge tag 'docs-5.8' of git://git.lwn.net/linuxLinus Torvalds1-2/+4
2020-05-21driver core: platform: Fix spelling errors in platform.cTang Bin1-1/+1
2020-05-12driver core: platform: Clarify that IRQ 0 is invalidBjorn Helgaas1-15/+25
2020-05-11Merge v5.7-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+2
2020-05-05drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a d...Kuppuswamy Sathyanarayanan1-0/+2
2020-04-28driver core: platform: Initialize dma_parms for platform devicesUlf Hansson1-0/+2
2020-04-23driver core: platform: remove redundant assignment to variable retColin Ian King1-1/+1
2020-04-20docs: drivers: fix some warnings at base/platform.c when building docsMauro Carvalho Chehab1-2/+4
2020-03-24driver core: platform: Reimplement devm_platform_ioremap_resourceDejin Zheng1-4/+1
2020-03-24drivers: provide devm_platform_get_and_ioremap_resource()Dejin Zheng1-0/+22
2020-03-11driver code: clarify and fix platform device DMA mask allocationChristoph Hellwig1-19/+6
2020-01-22driver core: platform: fix u32 greater or equal to zero comparisonColin Ian King1-1/+1
2020-01-14driver core: platform: Prevent resouce overflow from causing infinite loopsSimon Schwartz1-4/+6
2019-12-10drivers: Fix boot problem on SuperHGuenter Roeck1-0/+4
2019-11-14driver core: platform: Declare ret variable only onceAndy Shevchenko1-8/+4
2019-11-14driver core: platform: use the correct callback type for bus_find_deviceSami Tolvanen1-1/+6
2019-11-05drivers: provide devm_platform_ioremap_resource_byname()Bartosz Golaszewski1-0/+20
2019-11-05drivers: platform: provide devm_platform_ioremap_resource_wc()Bartosz Golaszewski1-1/+18
2019-10-27Merge 5.4-rc5 into driver-core-nextGreg Kroah-Hartman1-7/+39
2019-10-11driver core: simplify definitions of platform_get_irq*Uwe Kleine-König1-26/+21
2019-10-07drivers: move the early platform device support to arch/shBartosz Golaszewski1-288/+0
2019-10-07driver core: platform: Add platform_get_irq_byname_optional()Hans de Goede1-7/+39
2019-09-18Merge tag 'usb-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-21/+16
2019-09-03Merge generic_lookup_helpers into usb-nextGreg Kroah-Hartman1-0/+14
2019-08-29driver core: platform: Export platform_get_irq_optional()Thierry Reding1-0/+1
2019-08-28driver core: platform: Introduce platform_get_irq_optional()Thierry Reding1-0/+22
2019-08-22driver core: initialize a default DMA mask for platform deviceChristoph Hellwig1-21/+16
2019-08-12Merge 5.3-rc4 into driver-core-nextGreg Kroah-Hartman1-2/+7
2019-07-30driver core: platform: Add an error message to platform_get_irq*()Stephen Boyd1-8/+34
2019-07-30driver core: platform: return -ENXIO for missing GpioIntBrian Norris1-2/+7
2019-07-30platform: Add platform_find_device_by_driver() helperSuzuki K Poulose1-0/+14
2019-07-15docs: driver-model: move it to the driver-api bookMauro Carvalho Chehab1-1/+1
2019-06-21docs: driver-model: convert docs to ReST and rename to *.rstMauro Carvalho Chehab1-1/+1
2019-04-29Revert "driver core: platform: Fix the usage of platform device name(pdev->na...Greg Kroah-Hartman1-4/+4
2019-04-25driver core: platform: Fix the usage of platform device name(pdev->name)Venkata Narendra Kumar Gutta1-4/+4
2019-04-25driver core: platform: Propagate error from insert_resource()Andy Shevchenko1-4/+6
2019-04-25drivers: fix a typo in the kernel doc for devm_platform_ioremap_resource()Bartosz Golaszewski1-1/+1
2019-03-08Merge tag 'gpio-v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linu...Linus Torvalds1-0/+20
2019-03-01driver core: platform: remove misleading err_alloc labelJohannes Berg1-3/+1
2019-02-26platform: set of_node in platform_device_register_full()Mans Rullgard1-0/+2
2019-02-22drivers: depend on HAS_IOMEM for devm_platform_ioremap_resource()Bartosz Golaszewski1-0/+2
2019-02-21drivers: provide devm_platform_ioremap_resource()Bartosz Golaszewski1-0/+18
2019-02-12driver: platform: Support parsing GpioInt 0 in platform_get_irq()Enrico Granata1-1/+14
2019-01-04drivers/base/platform.c: kmemleak ignore a known leakQian Cai1-0/+3
2018-12-28Merge tag 'driver-core-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2018-12-28Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-33/+1
2018-12-13ACPI / scan: Refactor _CCA enforcementRobin Murphy1-2/+1
2018-12-13dma-mapping: move dma_get_required_mask to kernel/dmaChristoph Hellwig1-31/+0
2018-12-06driver core: platform: Respect return code of platform_device_register_full()Andy Shevchenko1-2/+2
2018-11-26driver core: platform: Remove duplicated device_remove_properties() callHeikki Krogerus1-1/+0
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-10-02dma-mapping: move dma_default_get_required_mask under ifdefChristoph Hellwig1-1/+1
2018-10-01dma-mapping: make the get_required_mask method available unconditionallyChristoph Hellwig1-2/+11
2018-06-05Merge tag 'pm-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-9/+8
2018-05-14driver core: Respect all error codes from dev_pm_domain_attach()Ulf Hansson1-9/+8
2018-05-03drivers: remove force dma flag from busesChristoph Hellwig1-2/+1
2018-05-03dma-mapping: move dma configuration to bus infrastructureNipun Gupta1-0/+17
2018-03-15driver core: platform: use put_device() if device_register failArvind Yadav1-1/+3
2017-12-07driver core: Remove redundant license textGreg Kroah-Hartman1-2/+0
2017-12-07driver core: add SPDX identifiers to all driver core filesGreg Kroah-Hartman1-0/+1
2017-10-19drivers: flag buses which demand DMA configurationRobin Murphy1-0/+1
2017-09-18driver core: platform: Don't read past the end of "driver_override" bufferNicolai Stange1-1/+2
2017-07-07Merge tag 'gpio-v4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lin...Linus Torvalds1-1/+1
2017-07-03platform: Accept const propertiesJan Kiszka1-1/+1
2017-05-25driver core: platform: fix race condition with driver_overrideAdrian Salido1-2/+9
2017-03-22of: Add function for generating a DT modalias with a newlineRob Herring1-1/+1
2017-02-22Merge tag 'driver-core-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2017-02-03ACPI: Add support for ResourceSource/IRQ domain mappingAgustin Vega-Frias1-0/+10
2017-01-11platform: Print the resource range if device failed to claimChen Yu1-1/+1
2016-09-27driver-core: platform: Catch errors from calls to irq_get_irq_dataGuenter Roeck1-3/+8
2016-08-31platform: don't return 0 from platform_get_irq[_byname]() on errorSergei Shtylyov1-2/+2
2016-08-31platform driver: fix use-after-free in platform_device_del()Jerome Marchand1-2/+1
2016-04-09device property: don't bother the drivers with struct property_setHeikki Krogerus1-9/+10
2016-01-26base/platform: Fix platform drivers with no probe callbackMartin Wilck1-4/+9
2016-01-21Merge branch 'pm-core'Rafael J. Wysocki1-1/+0
2016-01-12Merge tag 'pm+acpi-4.5-rc1-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+25
2016-01-12platform: Do not detach from PM domains on shutdownRafael J. Wysocki1-1/+0
2016-01-07driver-core: platform: Add platform_irq_count()Stephen Boyd1-0/+20
2015-12-07driver core: platform: Add support for built-in device propertiesMika Westerberg1-0/+25
2015-10-05driver-core: platform: Provide helpers for multi-driver modulesThierry Reding1-0/+61
2015-10-04base/platform: assert that dev_pm_domain callbacks are called unconditionallyUwe Kleine-König1-10/+9
2015-08-25drivercore: Fix unregistration path of platform devicesGrant Likely1-6/+2
2015-06-10Revert "base/platform: Only insert MEM and IO resources"Greg Kroah-Hartman1-7/+3
2015-06-10Revert "base/platform: Continue on insert_resource() error"Greg Kroah-Hartman1-15/+11
2015-06-10Revert "base/platform: Remove code duplication"Greg Kroah-Hartman1-25/+35
2015-06-01base/platform: Remove code duplicationRicardo Ribalda Delgado1-35/+25
2015-06-01base/platform: Continue on insert_resource() errorRicardo Ribalda Delgado1-11/+15
2015-06-01base/platform: Only insert MEM and IO resourcesRicardo Ribalda Delgado1-3/+7
2015-05-20driver-core: platform_driver_probe() must probe synchronouslyDmitry Torokhov1-0/+13
2015-04-14Merge tag 'pm+acpi-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2015-03-25drivers: platform: parse IRQ flags from resourcesLinus Walleij1-0/+9
2015-03-16driver core / ACPI: Represent ACPI companions using fwnode_handleRafael J. Wysocki1-1/+1
2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-10/+12
2014-11-24of/reconfig: Add OF_DYNAMIC notifier for platform_bus_typePantelis Antoniou1-0/+1
2014-11-06core: platform: let platform_create_bundle initialize module ownerWolfram Sang1-5/+6
2014-11-06core: platform: let platform_driver_probe initialize module ownerWolfram Sang1-5/+6
2014-09-30PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.hUlf Hansson1-0/+1
2014-09-22drivercore / platform: Convert to dev_pm_domain_attach|detach()Ulf Hansson1-7/+8
2014-08-04Merge tag 'driver-core-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+49
2014-08-04Merge tag 'clk-for-linus-3.17' of git://git.linaro.org/people/mike.turquette/...Linus Torvalds1-0/+5
2014-07-25clk: Support for clock parents and rates assigned from device treeSylwester Nawrocki1-0/+5
2014-07-21Merge 3.16-rc6 into driver-core-nextGreg Kroah-Hartman1-4/+14
2014-07-11platform_get_irq: Revert to platform_get_resource if of_irq_get failsGuenter Roeck1-4/+14
2014-07-08driver core: platform: add device binding path 'driver_override'Kim Phillips1-0/+47
2014-07-08driver core/platform: remove unused implicit padding in platform_objectYann Droneaud1-2/+2
2014-05-23of/irq: do irq resolution in platform_get_irq_byname()Grygorii Strashko1-2/+5
2014-04-24of/irq: do irq resolution in platform_get_irqRob Herring1-1/+6
2014-02-14ACPI / platform: drop redundant ACPI_HANDLE checkJosh Cartwright1-7/+4
2014-01-17platform: introduce OF style 'modalias' support for platform busZhang Rui1-0/+4
2014-01-16ACPI: fix module autoloading for ACPI enumerated devicesZhang Rui1-1/+11
2013-11-14ACPI / driver core: Store an ACPI device pointer in struct acpi_dev_nodeRafael J. Wysocki1-2/+2
2013-09-26driver core: prevent deferred probe with platform_driver_probeJohan Hovold1-4/+13
2013-08-23driver-core: platform: convert bus code to use dev_groupsGreg Kroah-Hartman1-4/+6
2013-08-19drivers / platform: Fix __init attribute locationHanjun Guo1-2/+2
2013-07-16driver-core: fix new kernel-doc warning in base/platform.cRandy Dunlap1-0/+1
2013-07-04Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linuxLinus Torvalds1-3/+0
2013-07-03Merge tag 'pm+acpi-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+0
2013-06-12driver core: move to_platform_driver to platform_device.hRob Herring1-3/+0
2013-06-03platform_device: use a macro instead of platform_driver_registerLibo Chen1-3/+5
2013-06-03PM / Runtime: Rework the "runtime idle" helper routineRafael J. Wysocki1-1/+0
2013-03-29driver core: platform.c: fix checkpatch errors and warningsFabio Porcedda1-10/+8
2013-03-29driver core: warn that platform_driver_probe can not use deferred probingFabio Porcedda1-1/+5
2012-12-11Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2012-11-27platform / ACPI: Attach/detach ACPI PM during probe/remove/shutdownRafael J. Wysocki1-2/+17
2012-11-21ACPI / platform: Initialize ACPI handles of platform devices in advanceRafael J. Wysocki1-0/+2
2012-11-15driver: platform: fix documentation for platform_get_irq_bynameWolfram Sang1-1/+1
2012-11-15ACPI: Add support for platform bus typeMika Westerberg1-0/+5
2012-11-14Merge 3.7-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+7
2012-11-09sparc: Add sparc support for platform_get_irq()Andreas Larsson1-0/+7
2012-10-30drivers/base: fix typo in comment for arch_setup_pdev_archdata()Sebastian Andrzej Siewior1-1/+1
2012-10-02Merge tag 'pm-for-3.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-0/+2
2012-09-06driver core: Check if r->name is valid in platform_get_resource_byname()Peter Ujfalusi1-0/+3
2012-09-04PM / Runtime: Allow helpers to be called by early platform driversRafael J. Wysocki1-0/+2
2012-08-16platform: Add support for automatic device IDsJean Delvare1-3/+35
2012-02-01drivercore: Output common devicetree information in ueventGrant Likely1-1/+1
2012-01-08Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-115/+0
2011-12-21PM / Sleep: Remove forward-only callbacks from platform bus typeRafael J. Wysocki1-115/+0
2011-12-09drivers_base: make argument to platform_device_register_full constUwe Kleine-König1-1/+1
2011-10-25Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-21/+33
2011-08-26new helper to create platform devices with dma maskUwe Kleine-König1-20/+32
2011-08-22drivers_base: platform: use always ->name for ueventSebastian Andrzej Siewior1-1/+1
2011-08-08driver core: fix kernel-doc warning in platform.cRandy Dunlap1-1/+1
2011-07-08driver core: Add ability for arch code to setup pdev_archdataKumar Gala1-0/+21
2011-06-07drivers/base/platform.c: don't mark platform_device_register_resndata() as __...Andrew Morton1-1/+1
2011-05-19Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-19/+19
2011-05-16PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"Kevin Hilman1-35/+0
2011-04-29PM / Platform: Use generic runtime PM callbacks directlyRafael J. Wysocki1-28/+3
2011-04-29PM: Export platform bus type's default PM callbacksRafael J. Wysocki1-54/+18
2011-04-22driver core/platform_device_add_resources: free resource before overwritingUwe Kleine-König1-0/+1
2011-04-22driver core/platform_device_add_resources: set resource to NULL if !resUwe Kleine-König1-10/+9