kernel_optimize_test/drivers/mfd
Jesper Juhl b1224cd113 mfd: Avoid two assignments if failures happen in tps65910_i2c_probe
In drivers/mfd/tps65910.c:tps65910_i2c_probe() there's potential for a
tiny optimization.

We assign to init_data->irq and init_data->irq_base long before we
need them, and there are two potential exits from the function before
they are needed.

Moving the assignments below these two potential exits means we
completely avoid doing them in these two (failure) cases.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-07-31 23:28:26 +02:00
..
88pm860x-core.c mfd: Avoid to use constraint name in 88pm860x regulator driver 2011-05-26 19:45:38 +02:00
88pm860x-i2c.c mfd: Append additional read write on 88pm860x 2011-03-23 10:42:07 +01:00
aat2870-core.c mfd: Add AAT2870 mfd driver 2011-07-31 23:28:26 +02:00
ab3100-core.c mfd: Use mfd cell platform_data for ab3100 cells platform bits 2011-05-26 19:44:58 +02:00
ab3100-otp.c
ab3550-core.c mfd: Use kstrtoul_from_user in ab3550 2011-07-31 23:28:21 +02:00
ab8500-core.c mfd: Update ab8500 subdevice list 2011-07-31 23:28:23 +02:00
ab8500-debugfs.c mfd: Use kstrtoul_from_user in ab8500 2011-07-31 23:28:21 +02:00
ab8500-gpadc.c mfd: Correct the name and bitmask for ab8500-gpadc BTempPullUp 2011-05-26 19:45:44 +02:00
ab8500-i2c.c mach-ux500: move the DB8500 PRCMU driver to MFD 2011-05-24 22:14:31 +02:00
ab8500-sysctrl.c mfd: AB8500 system control driver 2011-03-23 10:41:47 +01:00
abx500-core.c
adp5520.c mfd: Convert adp5520 to dev_pm_ops 2011-03-23 10:41:43 +01:00
asic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
cs5535-mfd.c mfd: OLPC: Clean up names to match what OLPC actually uses 2011-03-27 00:09:31 +01:00
da903x.c
davinci_voicecodec.c mfd: Use mfd cell platform_data for davinci cells platform bits 2011-05-26 19:45:13 +02:00
db5500-prcmu-regs.h mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db5500-prcmu.c mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db8500-prcmu-regs.h mfd: update DB8500 PRCMU driver 2011-05-24 22:18:57 +02:00
db8500-prcmu.c mfd: Use mfd cell platform_data for db8500-prcmu cells platform bits 2011-05-28 08:35:36 +02:00
dm355evm_msp.c
ezx-pcap.c Fix common misspellings 2011-03-31 11:26:23 -03:00
htc-egpio.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-i2cpld.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-pasic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
janz-cmodio.c mfd: Use mfd cell platform_data for janz cells platform bits 2011-05-26 19:45:08 +02:00
jz4740-adc.c mfd: Use generic irq chip for jz4740-adc 2011-07-31 23:28:21 +02:00
Kconfig mfd: Add AAT2870 mfd driver 2011-07-31 23:28:26 +02:00
lpc_sch.c mfd: Add tunnelcreek watchdog to lpc_sch devices 2011-07-31 23:28:23 +02:00
Makefile mfd: Add AAT2870 mfd driver 2011-07-31 23:28:26 +02:00
max8925-core.c mfd: Remove checking on max8925 regulator[0] 2011-05-26 19:45:37 +02:00
max8925-i2c.c
max8997-irq.c mfd: Remove dead code from max8997-irq 2011-07-31 23:28:25 +02:00
max8997.c mfd: MAX8997/8966 support 2011-03-23 10:42:03 +01:00
max8998-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
max8998.c power_supply: Add charger driver for MAX8998/LP3974 2011-07-08 16:59:34 +04:00
mc13xxx-core.c mfd: Use mfd cell platform_data for mc13xxx cells platform bits 2011-05-26 19:45:07 +02:00
mcp-core.c
mcp-sa11x0.c
menelaus.c
mfd-core.c mfd: Add platform data pointer back 2011-05-26 19:44:56 +02:00
omap-usb-host.c Revert "mfd: Add omap-usbhs runtime PM support" 2011-07-05 10:38:43 +02:00
pcf50633-adc.c
pcf50633-core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pcf50633-gpio.c
pcf50633-irq.c
pm8xxx-irq.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
pm8921-core.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
rdc321x-southbridge.c mfd: Use mfd cell platform_data for rdc321x cells platform bits 2011-05-26 19:45:06 +02:00
sm501.c video, sm501: add OF binding to support SM501 2011-03-22 17:17:14 +09:00
stmpe.c mfd: Fix missing stmpe kerneldoc 2011-07-31 23:28:25 +02:00
stmpe.h mfd: Fix missing stmpe kerneldoc 2011-07-31 23:28:25 +02:00
t7l66xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
tc3589x.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
tc6387xb.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
tc6393xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
ti-ssp.c
timberdale.c [media] radio-timb: Simplified platform data 2011-07-27 17:53:07 -03:00
timberdale.h
tmio_core.c
tps6105x.c mfd: Use mfd cell platform_data for tps6105x cells platform bits 2011-05-26 19:45:11 +02:00
tps6507x.c
tps6586x.c mfd: Fix tps6586x GPIO value setting 2011-05-26 19:45:31 +02:00
tps65010.c
tps65910-irq.c TPS65911: Add new irq definitions 2011-05-27 10:49:10 +01:00
tps65910.c mfd: Avoid two assignments if failures happen in tps65910_i2c_probe 2011-07-31 23:28:26 +02:00
tps65911-comparator.c mfd: Remove comp{1,2}_threshold sysfs entries in tps65911_comparator_remove 2011-07-31 23:28:24 +02:00
tps65912-core.c tps65912: irq: add interrupt controller 2011-07-31 23:28:22 +02:00
tps65912-i2c.c mfd: Fix off-by-one value range checking for tps65912_i2c_write 2011-07-31 23:28:25 +02:00
tps65912-irq.c tps65912: irq: add interrupt controller 2011-07-31 23:28:22 +02:00
tps65912-spi.c mfd: tps65912: Add new mfd device 2011-07-31 23:28:22 +02:00
twl4030-audio.c MFD: twl4030-audio: Rename platform data 2011-07-04 18:44:02 +03:00
twl4030-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
twl4030-madc.c mfd: Add "platform:" prefix for twl4030-madc platform modalias 2011-03-23 10:42:05 +01:00
twl4030-power.c mfd: Check twl4030-power remove script error condition after i2cwrite 2011-05-26 19:45:41 +02:00
twl6030-irq.c mfd: Fix twl6030 irq definitions 2011-05-26 19:45:40 +02:00
twl6030-pwm.c
twl6040-core.c MFD: twl6040: Remove enum for PLL tracking 2011-07-07 14:23:46 +03:00
twl6040-irq.c MFD: twl6040: Demand valid interrupt configuration 2011-07-07 14:23:25 +03:00
twl-core.c mfd: Add tps65921 support from twl-core 2011-07-31 23:28:24 +02:00
twl-core.h
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c mfd: Add BTN_TOUCH event to ucb1x00-ts 2011-03-23 10:41:45 +01:00
ucb1400_core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
vx855.c mfd: Add MODULE_DEVICE_TABLE to vx855 2011-03-23 10:41:59 +01:00
wl1273-core.c mfd: Fix wl1273 warning 2011-05-26 19:45:20 +02:00
wm831x-auxadc.c mfd: Support multiple active WM831x AUXADC conversions 2011-07-31 23:28:20 +02:00
wm831x-core.c mfd: Add devices for WM831x clocking module 2011-07-31 23:28:24 +02:00
wm831x-i2c.c mfd: Remove copy from WM831x I2C write function 2011-03-23 10:42:09 +01:00
wm831x-irq.c mfd: Fix off by one in WM831x IRQ code 2011-07-31 23:28:24 +02:00
wm831x-otp.c
wm831x-spi.c mfd: Convert WM831x SPI to use dev_pm_ops 2011-03-23 10:41:45 +01:00
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c mfd: Allocate wm835x irq descs dynamically 2011-07-31 23:28:20 +02:00
wm8350-regmap.c
wm8400-core.c mfd: Use mfd cell platform_data for wm8400 cells platform bits 2011-05-26 19:45:14 +02:00
wm8994-core.c mfd: Fix error handling if BUG() isn't enabled in WM8994 2011-07-31 23:28:21 +02:00
wm8994-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00