Re: [PATCH v2 8/8] MFD:rtsx: Use macro defines to replace some variables

2012-12-25 Thread Borislav Petkov
On Tue, Dec 25, 2012 at 10:43:40AM +0800, wei_w...@realsil.com.cn wrote: > From: Wei WANG > > 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 definiti

[PATCH v2 8/8] MFD:rtsx: Use macro defines to replace some variables

2012-12-24 Thread wei_wang
From: Wei WANG 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 --- drivers/mfd/rts