forked from mirrors/linux
		
	mmc: sdhci-omap: drop ->get_ro() implementation
The SDHCI core is now properly checking for the state of a WP GPIO, so there is no longer any need for the sdhci-omap code to implement ->get_ro() using mmc_gpio_get_ro(). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
		
							parent
							
								
									6d5cd068ee
								
							
						
					
					
						commit
						39ee32ce48
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -1097,7 +1097,6 @@ static int sdhci_omap_probe(struct platform_device *pdev) | |||
| 		goto err_put_sync; | ||||
| 	} | ||||
| 
 | ||||
| 	host->mmc_host_ops.get_ro = mmc_gpio_get_ro; | ||||
| 	host->mmc_host_ops.start_signal_voltage_switch = | ||||
| 					sdhci_omap_start_signal_voltage_switch; | ||||
| 	host->mmc_host_ops.set_ios = sdhci_omap_set_ios; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Thomas Petazzoni
						Thomas Petazzoni