• Bartlomiej Zolnierkiewicz's avatar
    icside: don't use hwif->hwif_data · 26839f09
    Bartlomiej Zolnierkiewicz authored
    * Move ecard_set_drvdata() from icside_probe() to icside_register_v{5,6}(),
      then use state->ioc_base instead of hwif->hwif_data in icside_maskproc()
      and icside_dma_test_irq().
    
    While at it:
    
    * Add sel field to struct icside_state, then use state->{sel,ioc_base}
      instead of ->{select,config}_data in icside_dma_setup().
    
    There should be no functional changes caused by this patch.
    
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    26839f09
icside.c 16.6 KB