[PATCH 4/5] powerpc/mm: Simplify page size kconfig dependencies

2015-08-06 Thread Michael Ellerman
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 &

Re: [PATCH 4/5] powerpc/mm: Simplify page size kconfig dependencies

2015-08-09 Thread Aneesh Kumar K.V
Michael Ellerman writes: > 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 sin