summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorWei WANG <wei_wang@realsil.com.cn>2013-01-29 08:21:36 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-14 00:22:57 +0100
commiteebbe2541684da99bf0b179d5182dc8025f5f5b6 (patch)
treedf2b0907ab20cf1a4ba19a8a7fd8286758008f71 /usr
parentmfd: rtsx: Fix checkpatch warning (diff)
downloadlinux-eebbe2541684da99bf0b179d5182dc8025f5f5b6.tar.xz
linux-eebbe2541684da99bf0b179d5182dc8025f5f5b6.zip
mfd: rtsx: Use macros to replace some variables
In function rtsx_pci_switch_clock, some variables, such as min_n, max_n, and max_div, are not necessary. And those assigned values look very obscure for others. It's more proper to use macro definitions here to replace these variables. Signed-off-by: Wei WANG <wei_wang@realsil.com.cn> Acked-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions