OSDN Git Service

powerpc/mm: Simplify page size kconfig dependencies
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 7 Aug 2015 06:19:46 +0000 (16:19 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 18 Aug 2015 09:32:10 +0000 (19:32 +1000)
commit55f8b5b82fe7ab21da4153ed177b6fe17b1d59a3
tree924768465a08cf0c7c11bd8b27b851fb8b324365
parent953005770ec3b52132a4cdbdbce74bd0de2b8490
powerpc/mm: Simplify page size kconfig dependencies

For config options with only a single value, guarding the single value
with 'if' is the same as adding a 'depends' statement. And it's more
standard to just use 'depends'.

And if the option has both an 'if' guard and a 'depends' we can collapse
them into a single 'depends' by combining them with &&.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
arch/powerpc/Kconfig