mfd: rtsx: Add func to split u32 into register
authorMicky Ching <micky_ching@realsil.com.cn>
Fri, 5 Dec 2014 05:54:26 +0000 (13:54 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Dec 2014 10:05:39 +0000 (10:05 +0000)
commita3b63979f8a32af9e975a793fd0f612d42072740
tree8500a941a9118723082fd8efd1b4936da20f5669
parent292aabb1da506b53eed904330add3dabfffd96e5
mfd: rtsx: Add func to split u32 into register

Add helper function to write u32 to registers, if we want to put u32
value to 4 continuous register, this can help us reduce tedious work.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/rtsx_pci.h