summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/tbxface.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2017-07-10 15:23:15 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-20 16:38:24 +0200
commit7679c35da5b5afa78ce6766f5966a5a4579d4332 (patch)
tree416487e321138eb96cba7fe69734d24b0ccb3670 /drivers/acpi/acpica/tbxface.c
parent99e597adf60e1a6f83ec746db8cab225b16a838b (diff)
downloadlinux-7679c35da5b5afa78ce6766f5966a5a4579d4332.tar.gz
linux-7679c35da5b5afa78ce6766f5966a5a4579d4332.tar.bz2
linux-7679c35da5b5afa78ce6766f5966a5a4579d4332.zip
ACPICA: linuxize: cleanup typedef definitions
ACPICA commit 894e49ef22db354eb1685cdb6f5f991766351d3c acpisrc now has capability to convert both the followings: 1. Form 1: typedef struct/union foo { struct/union foo { .... --> ... } FOO; } 2. Form 2: typedef struct/union foo FOO; --> typedef struct/union foo foo; It becomes unable to handle the following: 3. Form3: typedef struct/union foo { /* comment */ ... } FOO; --> strut/union foo { /* comment */ ... }; As: 1. The purpose of acpisrc is to convert formatted code (ACPICA coding style) into linux coding style, 2. acpisrc is a very simple tool that doesn't fully handle C language. This commit changes the definitions side in order not to regress and we shall make "no comments in struct/union line" as a new ACPICA coding style rule. Lv Zheng. Link: https://github.com/acpica/acpica/commit/894e49ef Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/tbxface.c')
0 files changed, 0 insertions, 0 deletions