summaryrefslogtreecommitdiff
path: root/drivers/misc/twl4030_led.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-20 08:03:11 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:15 +0200
commitb2dfd100bc43863f467f552a7bb26932810f2f5e (patch)
treeacb75eb92c82dc1da6ff361b8698b8d42e6d8a84 /drivers/misc/twl4030_led.c
parent4b0ac26a15a74664e51b49f1698fc42776edd3bc (diff)
downloadu-boot-imx-b2dfd100bc43863f467f552a7bb26932810f2f5e.zip
u-boot-imx-b2dfd100bc43863f467f552a7bb26932810f2f5e.tar.gz
u-boot-imx-b2dfd100bc43863f467f552a7bb26932810f2f5e.tar.bz2
ddr: altera: Clean up set_rank_and_odt_mask() part 1
First, invert the logic of the if (odt_mode == ...) conditional to make the OFF mode harder to miss. It is a short piece of code right at the end, so move it up. Also, clean up data types and constify where applicable and clean up the cs_and_odt_mask assignment. No functional change. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/misc/twl4030_led.c')
0 files changed, 0 insertions, 0 deletions