summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-11 21:48:08 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 20:47:45 +0900
commitcd14b01846612f3f3277e97bfbecba4c8cee5ce9 (patch)
treedda57ead5ef2dd79b2fc0f8a6663fe4b8b722780 /drivers/iommu
parent91b69454f93d1c905f3a56bb39856db9a220c791 (diff)
downloadlinux-stable-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.tar.gz
linux-stable-cd14b01846612f3f3277e97bfbecba4c8cee5ce9.tar.bz2
linux-stable-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')
-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