Skip to content

Commit cfd49e5

Browse files
Russell King (Oracle)kuba-moo
authored andcommitted
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 <[email protected]> Tested-by: Choong Yong Liang <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 1797dd4 commit cfd49e5

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/ethernet/stmicro/stmmac

1 file changed

+2
-2
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ struct stmmac_priv {
305305
int clk_csr;
306306
struct timer_list eee_ctrl_timer;
307307
int lpi_irq;
308-
int eee_enabled;
309-
int eee_active;
310308
u32 tx_lpi_timer;
309+
bool eee_enabled;
310+
bool eee_active;
311311
bool eee_sw_timer_en;
312312
unsigned int mode;
313313
unsigned int chain_mode;

0 commit comments

Comments
 (0)