mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 01:09:38 -05:00
pcmcia: sa1100*: remove redundant bvd1/bvd2 setting
bvd1 and bvd2 both default to 1 in the generic soc_common code, so having a driver repeat this is redundant. Remove it. Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
This commit is contained in:
parent
f1f05ee1b3
commit
57c1cdce71
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ simpad_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
|
|||
{
|
||||
long cs3reg = simpad_get_cs3_ro();
|
||||
|
||||
state->bvd1 = 1; /* Might be cs3reg & PCMCIA_BVD1 */
|
||||
state->bvd2 = 1; /* Might be cs3reg & PCMCIA_BVD2 */
|
||||
/* bvd1 might be cs3reg & PCMCIA_BVD1 */
|
||||
/* bvd2 might be cs3reg & PCMCIA_BVD2 */
|
||||
|
||||
if ((cs3reg & (PCMCIA_VS1|PCMCIA_VS2)) ==
|
||||
(PCMCIA_VS1|PCMCIA_VS2)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue