Skip to content

Commit

Permalink
staging: rts5139: remove unused card_power_off
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksij Rempel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
olerem authored and gregkh committed May 9, 2012
1 parent 6741f6c commit 25c59c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions drivers/staging/rts5139/rts51x_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -855,17 +855,6 @@ int card_power_on(struct rts51x_chip *chip, u8 card)
return STATUS_SUCCESS;
}

int card_power_off(struct rts51x_chip *chip, u8 card)
{
u8 mask, val;

mask = POWER_MASK;
val = POWER_OFF;
RTS51X_WRITE_REG(chip, CARD_PWR_CTL, mask, val);

return STATUS_SUCCESS;
}

int monitor_card_cd(struct rts51x_chip *chip, u8 card)
{
int retval;
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/rts5139/rts51x_card.h
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,6 @@ void trans_dma_enable(enum dma_data_direction dir, struct rts51x_chip *chip,
u32 byte_cnt, u8 pack_size);
int enable_card_clock(struct rts51x_chip *chip, u8 card);
int card_power_on(struct rts51x_chip *chip, u8 card);
int card_power_off(struct rts51x_chip *chip, u8 card);
int toggle_gpio(struct rts51x_chip *chip, u8 gpio);
int turn_on_led(struct rts51x_chip *chip, u8 gpio);
int turn_off_led(struct rts51x_chip *chip, u8 gpio);
Expand Down

0 comments on commit 25c59c5

Please sign in to comment.