projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/net: return operator cleanup
[deliverable/linux.git]
/
drivers
/
net
/
fsl_pq_mdio.c
diff --git
a/drivers/net/fsl_pq_mdio.c
b/drivers/net/fsl_pq_mdio.c
index f53f850b641888acb1080d6f08402caf2094eccb..8d3a2ccbc953e39879c88ebd2d80d92211c2b792 100644
(file)
--- a/
drivers/net/fsl_pq_mdio.c
+++ b/
drivers/net/fsl_pq_mdio.c
@@
-125,7
+125,7
@@
int fsl_pq_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value)
struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus);
/* Write to the local MII regs */
struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus);
/* Write to the local MII regs */
- return
(fsl_pq_local_mdio_write(regs, mii_id, regnum, value)
);
+ return
fsl_pq_local_mdio_write(regs, mii_id, regnum, value
);
}
/*
}
/*
@@
-137,7
+137,7
@@
int fsl_pq_mdio_read(struct mii_bus *bus, int mii_id, int regnum)
struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus);
/* Read the local MII regs */
struct fsl_pq_mdio __iomem *regs = fsl_pq_mdio_get_regs(bus);
/* Read the local MII regs */
- return
(fsl_pq_local_mdio_read(regs, mii_id, regnum)
);
+ return
fsl_pq_local_mdio_read(regs, mii_id, regnum
);
}
/* Reset the MIIM registers, and wait for the bus to free */
}
/* Reset the MIIM registers, and wait for the bus to free */
@@
-265,7
+265,7
@@
static int get_ucc_id_for_range(u64 start, u64 end, u32 *ucc_id)
#endif
#endif
-static int fsl_pq_mdio_probe(struct
of
_device *ofdev,
+static int fsl_pq_mdio_probe(struct
platform
_device *ofdev,
const struct of_device_id *match)
{
struct device_node *np = ofdev->dev.of_node;
const struct of_device_id *match)
{
struct device_node *np = ofdev->dev.of_node;
@@
-425,7
+425,7
@@
err_free_priv:
}
}
-static int fsl_pq_mdio_remove(struct
of
_device *ofdev)
+static int fsl_pq_mdio_remove(struct
platform
_device *ofdev)
{
struct device *device = &ofdev->dev;
struct mii_bus *bus = dev_get_drvdata(device);
{
struct device *device = &ofdev->dev;
struct mii_bus *bus = dev_get_drvdata(device);
This page took
0.028842 seconds
and
5
git commands to generate.