kernel-fxtec-pro1x/include/linux/mfd
Phil Carmody 497888cf69 treewide: fix potentially dangerous trailing ';' in #defined values/expressions
All these are instances of
  #define NAME value;
or
  #define NAME(params_opt) value;

These of course fail to build when used in contexts like
  if(foo $OP NAME)
  while(bar $OP NAME)
and may silently generate the wrong code in contexts such as
  foo = NAME + 1;    /* foo = value; + 1; */
  bar = NAME - 1;    /* bar = value; - 1; */
  baz = NAME & quux; /* baz = value; & quux; */

Reported on comp.lang.c,
Message-ID: <ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com>
Initial analysis of the dangers provided by Keith Thompson in that thread.

There are many more instances of more complicated macros having unnecessary
trailing semicolons, but this pile seems to be all of the cases of simple
values suffering from the problem. (Thus things that are likely to be found
in one of the contexts above, more complicated ones aren't.)

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-07-21 14:10:00 +02:00
..
ab8500 gpio: driver for 42 AB8500 GPIO pins 2011-03-28 08:47:17 +02:00
pcf50633 mfd: Move PCF50633 IRQ protoypes where the definitions can see them 2010-10-29 00:28:37 +02:00
pm8xxx mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
wm831x mfd: Provide platform data for WM831x GPIO configuration 2011-05-26 19:45:18 +02:00
wm8350 Fix common misspellings 2011-03-31 11:26:23 -03:00
wm8994 Merge branch 'for-2.6.39' into for-2.6.40 2011-04-03 19:29:43 +09:00
88pm860x.h mfd: Add rtc support to 88pm860x 2011-05-26 19:45:34 +02:00
ab8500.h gpio: driver for 42 AB8500 GPIO pins 2011-03-28 08:47:17 +02:00
abx500.h mfd: Provide ab8500-core enumerators for chip cuts 2011-05-26 19:45:42 +02:00
adp5520.h
asic3.h mfd: Fix ASIC3 SD Host Controller Configuration size 2011-05-26 19:45:51 +02:00
core.h mfd: Remove mfd_data 2011-05-26 19:45:16 +02:00
da903x.h
davinci_voicecodec.h
db5500-prcmu.h mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db8500-prcmu.h mfd: update DB8500 PRCMU driver 2011-05-24 22:18:57 +02:00
ds1wm.h w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
ezx-pcap.h
htc-egpio.h
htc-pasic3.h
janz.h
max8925.h
max8997-private.h regulator: Remove MAX8997_REG_BUCK1DVS/MAX8997_REG_BUCK2DVS/MAX8997_REG_BUCK5DVS macros 2011-05-27 10:49:10 +01:00
max8997.h mfd: Add MAX8997/8966 IRQ control 2011-03-27 00:09:33 +01:00
max8998-private.h mfd: MAX8998/LP3974 hibernation support 2011-01-14 12:38:14 +01:00
max8998.h regulator: Support MAX8998/LP3974 DVS-GPIO 2011-01-14 12:38:16 +01:00
mc13xxx.h mfd: mfd_cell is now implicitly available to mc13xxx drivers 2011-03-23 10:41:54 +01:00
mc13783.h Change the register name definitions for mc13783 2011-01-12 14:33:03 +00:00
mc13892.h regulator: support PMIC mc13892 2011-01-12 14:33:03 +00:00
mcp.h
rdc321x.h
stmpe.h gpio: Add bitmask to block requests to unavailable stmpe GPIOs 2010-10-29 00:28:43 +02:00
t7l66xb.h
tc3589x.h input/tc3589x: add tc3589x keypad support 2010-12-29 22:02:24 +01:00
tc6387xb.h
tc6393xb.h
ti_ssp.h spi: add ti-ssp spi master driver 2011-03-15 08:17:22 -07:00
tmio.h mmc: tmio: runtime suspend the controller, where possible 2011-05-24 23:53:55 -04:00
tps6105x.h regulator: Add a subdriver for TI TPS6105x regulator portions v2 2011-03-23 10:42:09 +01:00
tps6507x.h
tps6586x.h mfd: Add basic tps6586x interrupt support 2010-10-29 00:29:28 +02:00
tps65910.h treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
twl4030-codec.h mfd: Update twl4030-code maintainer e-mail address 2011-05-26 19:45:45 +02:00
ucb1x00.h
wl1273-core.h [media] MFD: WL1273 FM Radio: MFD driver for the FM radio 2011-03-21 20:32:39 -03:00
wm8400-audio.h
wm8400-private.h
wm8400.h