File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1076,8 +1076,6 @@ static int aaci_remove(struct amba_device *dev)
10761076{
10771077 struct snd_card * card = amba_get_drvdata (dev );
10781078
1079- amba_set_drvdata (dev , NULL );
1080-
10811079 if (card ) {
10821080 struct aaci * aaci = card -> private_data ;
10831081 writel (0 , aaci -> base + AACI_MAINCR );
Original file line number Diff line number Diff line change @@ -1129,7 +1129,6 @@ static int snd_dummy_probe(struct platform_device *devptr)
11291129static int snd_dummy_remove (struct platform_device * devptr )
11301130{
11311131 snd_card_free (platform_get_drvdata (devptr ));
1132- platform_set_drvdata (devptr , NULL );
11331132 return 0 ;
11341133}
11351134
Original file line number Diff line number Diff line change @@ -902,8 +902,6 @@ snd_harmony_free(struct snd_harmony *h)
902902 if (h -> iobase )
903903 iounmap (h -> iobase );
904904
905- parisc_set_drvdata (h -> dev , NULL );
906-
907905 kfree (h );
908906 return 0 ;
909907}
@@ -1016,7 +1014,6 @@ static int
10161014snd_harmony_remove (struct parisc_device * padev )
10171015{
10181016 snd_card_free (parisc_get_drvdata (padev ));
1019- parisc_set_drvdata (padev , NULL );
10201017 return 0 ;
10211018}
10221019
Original file line number Diff line number Diff line change @@ -2670,8 +2670,6 @@ static int dbri_remove(struct platform_device *op)
26702670 snd_dbri_free (card -> private_data );
26712671 snd_card_free (card );
26722672
2673- dev_set_drvdata (& op -> dev , NULL );
2674-
26752673 return 0 ;
26762674}
26772675
Original file line number Diff line number Diff line change @@ -1070,7 +1070,6 @@ static int snd_at73c213_remove(struct spi_device *spi)
10701070
10711071 ssc_free (chip -> ssc );
10721072 snd_card_free (card );
1073- dev_set_drvdata (& spi -> dev , NULL );
10741073
10751074 return 0 ;
10761075}
You can’t perform that action at this time.
0 commit comments