net: stmmac: use boolean for eee_enabled and eee_active
priv->eee_enabled and priv->eee_active are both assigned using boolean values. Type them as bool rather than int. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Choong Yong Liang <yong.liang.choong@linux.intel.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1tVZEW-0002L2-9w@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>pull/1131/head
parent
1797dd4e3e
commit
cfd49e5fc3
|
|
@ -305,9 +305,9 @@ struct stmmac_priv {
|
|||
int clk_csr;
|
||||
struct timer_list eee_ctrl_timer;
|
||||
int lpi_irq;
|
||||
int eee_enabled;
|
||||
int eee_active;
|
||||
u32 tx_lpi_timer;
|
||||
bool eee_enabled;
|
||||
bool eee_active;
|
||||
bool eee_sw_timer_en;
|
||||
unsigned int mode;
|
||||
unsigned int chain_mode;
|
||||
|
|
|
|||
Loading…
Reference in New Issue