mfd: Remove Unicode Byte Order Marks from da9055
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 15 Oct 2012 20:44:45 +0000 (22:44 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 11 Nov 2012 23:54:57 +0000 (00:54 +0100)
commit90a38d999739f35f4fc925c875e6ee518546b66c
tree4d511d02d44bbad5e3c5eda2baaba20db8982eb6
parentb851c06c241d4a2e43ee6007705765a9b1b3abb7
mfd: Remove Unicode Byte Order Marks from da9055

Older gcc (< 4.4) doesn't like files starting with Unicode BOMs:

include/linux/mfd/da9055/core.h:1: error: stray ‘\357’ in program
include/linux/mfd/da9055/core.h:1: error: stray ‘\273’ in program
include/linux/mfd/da9055/core.h:1: error: stray ‘\277’ in program
include/linux/mfd/da9055/pdata.h:1: error: stray ‘\357’ in program
include/linux/mfd/da9055/pdata.h:1: error: stray ‘\273’ in program
include/linux/mfd/da9055/pdata.h:1: error: stray ‘\277’ in program
include/linux/mfd/da9055/reg.h:1: error: stray ‘\357’ in program
include/linux/mfd/da9055/reg.h:1: error: stray ‘\273’ in program
include/linux/mfd/da9055/reg.h:1: error: stray ‘\277’ in program

Remove the BOMs, the rest of the files is plain ASCII anyway.

Output of "file" before:

include/linux/mfd/da9055/core.h:  UTF-8 Unicode (with BOM) C program text
include/linux/mfd/da9055/pdata.h: UTF-8 Unicode (with BOM) C program text
include/linux/mfd/da9055/reg.h:   UTF-8 Unicode (with BOM) C program text

Output of "file" after:

include/linux/mfd/da9055/core.h:  ASCII C program text
include/linux/mfd/da9055/pdata.h: ASCII C program text
include/linux/mfd/da9055/reg.h:   ASCII C program text

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/da9055/core.h
include/linux/mfd/da9055/pdata.h
include/linux/mfd/da9055/reg.h