devm functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a list anywhere of the kinds of drivers that are allowed to use
devm functions?

I know that it is possible for platform drivers, but by tracing backwards
from calls to eg the platform driver probe function, it was not easy to
see why this was so - one seems to run into several levels of functions
pointers, that I didn't bother tracing through.  Perhaps I have missed
something obvious.

As an approximation, I collected the entry points (functions stored insome
data structure) for which there is at least one definition that calls
devm_kzalloc.  The list on a moderately recent linux-next is as follows:

amba_driver.probe
ata_port_operations.port_start
drm_driver.load
dw_mci_drv_data.init
ecard_driver.probe
hid_driver.input_configured
hid_driver.probe
i2c_driver.probe
iio_info.update_scan_mode
iommu_ops.attach_dev
macio_driver.probe
mipi_dsim_lcd_driver.probe
pci_driver.probe
pcmcia_driver.probe
pinctrl_ops.dt_node_to_map
platform_driver.probe
pwm_ops.request
sdio_driver.probe
sh_pfc_soc_operations.init
snd_soc_codec_driver.probe
spi_driver.probe
usb_driver.probe
v4l2_subdev_internal_ops.registered

thanks,
julia
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux