kernel_optimize_test/drivers
Milo(Woogyom) Kim 9448217403 leds-lp5521: clean up lp5521_configure()
This patch is a preceding step for making common lp55xx init function.

 LP5521_REG_R_CURRENT register code moved:
 Chip specific code moved from lp5521_init_device() to lp5521_configure().

 Remove engine init function:
 LP5521 has internal program engines which are used for running LED patterns.
 (blinking, ramp up/down and other emotional visual effects)
 Engine initialization is done by reset command in lp5521_init_device().
 Remove this duplicate code.

 Return code:
 Do not use 'OR' arithmetic for the result.
 If some error occus, just return it.

 Enable latency:
 Use explicit named function, lp5521_wait_enable_done().
 According to the datasheet, 500us is guaranteed time.
 Thus wait time is changed from 1000us to 500us.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
2013-02-06 15:59:26 -08:00
..
accessibility
acpi Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-01-31 17:08:43 +11:00
amba
ata
atm
auxdisplay
base Merge remote-tracking branch 'regmap/fix/debugfs' into tmp 2013-01-24 19:04:16 +08:00
bcma
block
bluetooth
bus
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle
crypto
dca
devfreq
dio
dma Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma 2013-01-24 10:17:49 -08:00
edac EDAC: Fix kcalloc argument order 2013-01-30 11:38:25 +01:00
eisa
extcon
firewire
firmware Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-01-31 17:10:36 +11:00
gpio
gpu Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-01-31 17:08:43 +11:00
hid Merge branch 'for-3.8/upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2013-02-01 08:44:59 +11:00
hsi
hv
hwmon
hwspinlock
i2c
ide
idle
iio
infiniband
input
iommu Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux 2013-01-30 12:02:26 +11:00
ipack
irqchip
isdn
leds leds-lp5521: clean up lp5521_configure() 2013-02-06 15:59:26 -08:00
lguest
macintosh
md A fix for stacked dm thin devices and a fix for the new dm WRITE SAME 2013-02-01 12:04:22 +11:00
media ARM: arm-soc: Fixes for 3.8-rc, take 2 2013-01-24 12:42:50 -08:00
memory
memstick
message
mfd This is the first pull request for MFD fixes for 3.8 2013-01-28 11:51:57 -08:00
misc
mmc This is the first pull request for MFD fixes for 3.8 2013-01-28 11:51:57 -08:00
mtd
net dm9601: support dm9620 variant 2013-01-28 00:18:04 -05:00
nfc
nubus
of
oprofile
parisc
parport
pci
pcmcia
pinctrl pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused 2013-01-29 23:10:30 +01:00
platform samsung-laptop: Disable on EFI hardware 2013-01-30 11:52:11 -08:00
pnp
power
pps
ps3
ptp
pwm pwm: Add devm_of_pwm_get() as exported API for users 2013-02-01 17:47:05 -08:00
rapidio
regulator Merge remote-tracking branch 'regulator/fix/tps80031' into tmp 2013-01-29 11:14:35 +08:00
remoteproc
rpmsg
rtc
s390
sbus
scsi efi: Make 'efi_enabled' a function to query EFI facilities 2013-01-30 11:51:59 -08:00
sfi
sh
sn
spi
ssb
staging
target
tc
thermal
tty
uio
usb
uwb
vfio
vhost
video
virt
virtio
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile