treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / phy / mdio-i2c.h
blobb1d27f7cd23fb09521c3601cd099f86ca9c4fdb3
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * MDIO I2C bridge
5 * Copyright (C) 2015 Russell King
6 */
7 #ifndef MDIO_I2C_H
8 #define MDIO_I2C_H
10 struct device;
11 struct i2c_adapter;
12 struct mii_bus;
14 struct mii_bus *mdio_i2c_alloc(struct device *parent, struct i2c_adapter *i2c);
16 #endif