commit | eebbe2541684da99bf0b179d5182dc8025f5f5b6 | [log] [tgz] |
---|---|---|
author | Wei WANG <wei_wang@realsil.com.cn> | Tue Jan 29 15:21:36 2013 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Feb 14 00:22:57 2013 +0100 |
tree | df2b0907ab20cf1a4ba19a8a7fd8286758008f71 | |
parent | 678cacdfda800b0cdbfdd01350dcf5e3b767f6ed [diff] |
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>