summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-11 13:48:08 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 12:47:45 +0100
commitcd14b01846612f3f3277e97bfbecba4c8cee5ce9 (patch)
treedda57ead5ef2dd79b2fc0f8a6663fe4b8b722780 /drivers/iommu/intel
parentkconfig: use generic macros to implement symbol hashtable (diff)
downloadlinux-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.tar.xz
linux-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.zip
treewide: replace or remove redundant def_bool in Kconfig files
'def_bool X' is a shorthand for 'bool' plus 'default X'. 'def_bool' is redundant where 'bool' is already present, so 'def_bool X' can be replaced with 'default X', or removed if X is 'n'. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'drivers/iommu/intel')
-rw-r--r--drivers/iommu/intel/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel/Kconfig b/drivers/iommu/intel/Kconfig
index 012cd2541a68..95d9f4e1a176 100644
--- a/drivers/iommu/intel/Kconfig
+++ b/drivers/iommu/intel/Kconfig
@@ -97,8 +97,8 @@ config INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON
the default value.
config INTEL_IOMMU_PERF_EVENTS
- def_bool y
bool "Intel IOMMU performance events"
+ default y
depends on INTEL_IOMMU && PERF_EVENTS
help
Selecting this option will enable the performance monitoring