mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
ata: sata_gemini: Remove unused gemini_sata_reset_bridge()
gemini_sata_reset_bridge() was added in 2017 by the initial
commit be4e456ed3
("ata: Add driver for Faraday Technology FTIDE010")
but has never been used.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
This commit is contained in:
parent
9986ce65be
commit
a7f08ca7df
@ -224,18 +224,6 @@ void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge)
|
||||
}
|
||||
EXPORT_SYMBOL(gemini_sata_stop_bridge);
|
||||
|
||||
int gemini_sata_reset_bridge(struct sata_gemini *sg,
|
||||
unsigned int bridge)
|
||||
{
|
||||
if (bridge == 0)
|
||||
reset_control_reset(sg->sata0_reset);
|
||||
else
|
||||
reset_control_reset(sg->sata1_reset);
|
||||
msleep(10);
|
||||
return gemini_sata_setup_bridge(sg, bridge);
|
||||
}
|
||||
EXPORT_SYMBOL(gemini_sata_reset_bridge);
|
||||
|
||||
static int gemini_sata_bridge_init(struct sata_gemini *sg)
|
||||
{
|
||||
struct device *dev = sg->dev;
|
||||
|
@ -17,6 +17,5 @@ bool gemini_sata_bridge_enabled(struct sata_gemini *sg, bool is_ata1);
|
||||
enum gemini_muxmode gemini_sata_get_muxmode(struct sata_gemini *sg);
|
||||
int gemini_sata_start_bridge(struct sata_gemini *sg, unsigned int bridge);
|
||||
void gemini_sata_stop_bridge(struct sata_gemini *sg, unsigned int bridge);
|
||||
int gemini_sata_reset_bridge(struct sata_gemini *sg, unsigned int bridge);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user