Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: devres: Sort managed interfaces

Sort the list of managed interfaces and their lists of methods
alphabetically, to reduce the risk of merge conflicts and duplicates.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Geert Uytterhoeven and committed by
Greg Kroah-Hartman
d8e1e012 b23b3544

+57 -57
+57 -57
Documentation/driver-model/devres.txt
··· 233 233 6. List of managed interfaces 234 234 ----------------------------- 235 235 236 - MEM 237 - devm_kmalloc() 238 - devm_kzalloc() 239 - devm_kmalloc_array() 240 - devm_kcalloc() 241 - devm_kfree() 242 - devm_kmemdup() 243 - devm_get_free_pages() 244 - devm_free_pages() 236 + CLOCK 237 + devm_clk_get() 238 + devm_clk_put() 239 + 240 + DMA 241 + dmam_alloc_coherent() 242 + dmam_alloc_noncoherent() 243 + dmam_declare_coherent_memory() 244 + dmam_free_coherent() 245 + dmam_free_noncoherent() 246 + dmam_pool_create() 247 + dmam_pool_destroy() 248 + 249 + GPIO 250 + devm_gpiod_get() 251 + devm_gpiod_get_index() 252 + devm_gpiod_get_index_optional() 253 + devm_gpiod_get_optional() 254 + devm_gpiod_put() 245 255 246 256 IIO 247 257 devm_iio_device_alloc() 248 258 devm_iio_device_free() 249 - devm_iio_trigger_alloc() 250 - devm_iio_trigger_free() 251 259 devm_iio_device_register() 252 260 devm_iio_device_unregister() 261 + devm_iio_trigger_alloc() 262 + devm_iio_trigger_free() 253 263 254 264 IO region 255 - devm_request_region() 256 - devm_request_mem_region() 257 - devm_release_region() 258 265 devm_release_mem_region() 259 - 260 - IRQ 261 - devm_request_irq() 262 - devm_free_irq() 263 - 264 - DMA 265 - dmam_alloc_coherent() 266 - dmam_free_coherent() 267 - dmam_alloc_noncoherent() 268 - dmam_free_noncoherent() 269 - dmam_declare_coherent_memory() 270 - dmam_pool_create() 271 - dmam_pool_destroy() 272 - 273 - PCI 274 - pcim_enable_device() : after success, all PCI ops become managed 275 - pcim_pin_device() : keep PCI device enabled after release 266 + devm_release_region() 267 + devm_request_mem_region() 268 + devm_request_region() 276 269 277 270 IOMAP 278 271 devm_ioport_map() 279 272 devm_ioport_unmap() 280 273 devm_ioremap() 281 274 devm_ioremap_nocache() 282 - devm_iounmap() 283 275 devm_ioremap_resource() : checks resource, requests memory region, ioremaps 276 + devm_iounmap() 284 277 pcim_iomap() 285 - pcim_iounmap() 286 - pcim_iomap_table() : array of mapped addresses indexed by BAR 287 278 pcim_iomap_regions() : do request_region() and iomap() on multiple BARs 279 + pcim_iomap_table() : array of mapped addresses indexed by BAR 280 + pcim_iounmap() 288 281 289 - REGULATOR 290 - devm_regulator_get() 291 - devm_regulator_put() 292 - devm_regulator_bulk_get() 293 - devm_regulator_register() 282 + IRQ 283 + devm_free_irq() 284 + devm_request_irq() 294 285 295 - CLOCK 296 - devm_clk_get() 297 - devm_clk_put() 286 + MDIO 287 + devm_mdiobus_alloc() 288 + devm_mdiobus_alloc_size() 289 + devm_mdiobus_free() 290 + 291 + MEM 292 + devm_free_pages() 293 + devm_get_free_pages() 294 + devm_kcalloc() 295 + devm_kfree() 296 + devm_kmalloc() 297 + devm_kmalloc_array() 298 + devm_kmemdup() 299 + devm_kzalloc() 300 + 301 + PCI 302 + pcim_enable_device() : after success, all PCI ops become managed 303 + pcim_pin_device() : keep PCI device enabled after release 304 + 305 + PHY 306 + devm_usb_get_phy() 307 + devm_usb_put_phy() 298 308 299 309 PINCTRL 300 310 devm_pinctrl_get() ··· 314 304 devm_pwm_get() 315 305 devm_pwm_put() 316 306 317 - PHY 318 - devm_usb_get_phy() 319 - devm_usb_put_phy() 307 + REGULATOR 308 + devm_regulator_bulk_get() 309 + devm_regulator_get() 310 + devm_regulator_put() 311 + devm_regulator_register() 320 312 321 313 SLAVE DMA ENGINE 322 314 devm_acpi_dma_controller_register() 323 315 324 316 SPI 325 317 devm_spi_register_master() 326 - 327 - GPIO 328 - devm_gpiod_get() 329 - devm_gpiod_get_index() 330 - devm_gpiod_get_optional() 331 - devm_gpiod_get_index_optional() 332 - devm_gpiod_put() 333 - 334 - MDIO 335 - devm_mdiobus_alloc() 336 - devm_mdiobus_alloc_size() 337 - devm_mdiobus_free()