linux/drivers/mailbox
Bartosz Golaszewski a54d03ed01 mailbox: tegra-hsp: use devm_kstrdup_const()
Use devm_kstrdup_const() in the tegra-hsp driver. This mostly serves as
an example of how to use this new routine to shrink driver code.

Also use devm_kzalloc() instead of regular kzalloc() to shrink the
driver even more.

Doorbell objects are only removed in the driver's remove callback so
it's safe to convert all memory allocations to devres.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2018-12-21 22:31:26 -06:00
..
arm_mhu.c mailbox: arm-mhu: Use device-managed registration API 2018-12-21 16:49:25 -06:00
bcm2835-mailbox.c mailbox: bcm2835: Use device-managed registration API 2018-12-21 16:49:25 -06:00
bcm-flexrm-mailbox.c mailbox: bcm-flexrm: Use device-managed registration API 2018-12-21 16:49:25 -06:00
bcm-pdc-mailbox.c mailbox: bcm-pdc: Use device-managed registration API 2018-12-21 16:49:25 -06:00
hi3660-mailbox.c mailbox: hi3660: Use device-managed registration API 2018-12-21 16:49:25 -06:00
hi6220-mailbox.c mailbox: hi6220: Use device-managed registration API 2018-12-21 16:49:25 -06:00
imx-mailbox.c mailbox: imx: Use device-managed registration API 2018-12-21 16:49:25 -06:00
Kconfig drivers: mailbox: Make ti-msgmr driver depend on ARCH_K3 2018-09-29 12:42:39 +05:30
mailbox-altera.c mailbox: altera: Use device-managed registration API 2018-12-21 16:49:25 -06:00
mailbox-sti.c mailbox: sti: Use device-managed registration API 2018-12-21 16:49:25 -06:00
mailbox-test.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
mailbox-xgene-slimpro.c mailbox: xgene-slimpro: Use device-managed registration API 2018-12-21 16:49:25 -06:00
mailbox.c mailbox: Allow multiple controllers per device 2018-12-21 22:31:26 -06:00
mailbox.h
Makefile mailbox: Add support for i.MX messaging unit 2018-08-15 09:53:07 +05:30
mtk-cmdq-mailbox.c mailbox: mtk-cmdq: Remove needless devm_kfree() calls 2018-12-21 16:49:25 -06:00
omap-mailbox.c mailbox: omap: Use device-managed registration API 2018-12-21 16:49:25 -06:00
pcc.c mailbox: PCC: handle parse error 2018-09-10 12:54:02 +02:00
pl320-ipc.c
platform_mhu.c mailbox: platform-mhu: Use device-managed registration API 2018-12-21 16:49:25 -06:00
qcom-apcs-ipc-mailbox.c mailbox: qcom-apcs: Use device-managed registration API 2018-12-21 16:49:25 -06:00
rockchip-mailbox.c mailbox: rockchip: Use device-managed registration API 2018-12-21 16:49:25 -06:00
stm32-ipcc.c mailbox: stm32-ipcc: Use device-managed registration API 2018-12-21 16:49:26 -06:00
tegra-hsp.c mailbox: tegra-hsp: use devm_kstrdup_const() 2018-12-21 22:31:26 -06:00
ti-msgmgr.c mailbox: ti-msgmgr: Use device-managed registration API 2018-12-21 16:49:26 -06:00