staging: rts5139: remove unused card_power_off
authorOleksij Rempel <bug-track@fisher-privat.net>
Fri, 4 May 2012 15:14:37 +0000 (17:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:28:54 +0000 (13:28 -0700)
Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5139/rts51x_card.c
drivers/staging/rts5139/rts51x_card.h

index 4406bf90cb17a7e17122aae60711ad45d0096ac4..73032efdd2b31fea82fb6292f08c8a8e4988b4eb 100644 (file)
@@ -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;
index 104a4a965a20117dec121cc3163ca9423430154b..ef9cc8952425468846fa4b4d47a6bf464644b665 100644 (file)
@@ -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);