diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-10-10 17:35:57 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-12 06:08:16 +0300 |
commit | 04e79eb704b20ec330e96e93727ac27e66f66dcb (patch) | |
tree | 90fa54a113e3ca4dbb8811ad8ebbee1f1b009f2b /include | |
parent | 61b8ab2c5481dc48e8df9a13c297636c1d369554 (diff) | |
download | linux-04e79eb704b20ec330e96e93727ac27e66f66dcb.tar.xz |
hwmon: (pmbus) remove redundant 'default n' from Kconfig
'default n' is the default value for any bool or tristate Kconfig
setting so there is no need to write it explicitly.
Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO
is not set' for visible symbols") the Kconfig behavior is the same
regardless of 'default n' being present or not:
...
One side effect of (and the main motivation for) this change is making
the following two definitions behave exactly the same:
config FOO
bool
config FOO
bool
default n
With this change, neither of these will generate a
'# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied).
That might make it clearer to people that a bare 'default n' is
redundant.
...
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions