mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
Utilize the managed resource (devres) framework and add the following devm_* helpers for the SPMI driver: - devm_spmi_controller_alloc() - devm_spmi_controller_add() [[email protected]: Rename to spmi-devres for module niceness, slap on GPL module license] Signed-off-by: Fei Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
10 lines
278 B
Makefile
10 lines
278 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for kernel SPMI framework.
|
|
#
|
|
obj-$(CONFIG_SPMI) += spmi.o spmi-devres.o
|
|
|
|
obj-$(CONFIG_SPMI_HISI3670) += hisi-spmi-controller.o
|
|
obj-$(CONFIG_SPMI_MSM_PMIC_ARB) += spmi-pmic-arb.o
|
|
obj-$(CONFIG_SPMI_MTK_PMIF) += spmi-mtk-pmif.o
|