Re: [PATCH 1/2] powerpc/kernel/sysfs: Refactor current sysfs.c

2020-03-05 Thread Michael Ellerman
On Fri, 2020-02-14 at 08:06:05 UTC, Kajol Jain wrote: > From: Madhavan Srinivasan > > An attempt to refactor the current sysfs.c file. > To start with a big chuck of macro #defines and dscr > functions are moved to start of the file. Secondly, > HAS_ #define macros are cleanup based on CONFIG_

[PATCH 1/2] powerpc/kernel/sysfs: Refactor current sysfs.c

2020-02-14 Thread Kajol Jain
From: Madhavan Srinivasan An attempt to refactor the current sysfs.c file. To start with a big chuck of macro #defines and dscr functions are moved to start of the file. Secondly, HAS_ #define macros are cleanup based on CONFIG_ options Finally new HAS_ macro added: 1. HAS_PPC_PA6T (for PA6T)