treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / pci / ttpci / ttpci-eeprom.h
blobee741867ba472f86df15682f94621a450053eafa
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 Retrieve encoded MAC address from ATMEL ttpci_eeprom serial 2-wire EEPROM,
4 decode it and store it in associated adapter net device
6 Robert Schlabbach GMX
7 Michael Glaum KVH Industries
8 Holger Waechtler Convergence
13 #ifndef __TTPCI_EEPROM_H__
14 #define __TTPCI_EEPROM_H__
16 #include <linux/types.h>
17 #include <linux/i2c.h>
19 extern int ttpci_eeprom_decode_mac(u8 *decodedMAC, u8 *encodedMAC);
20 extern int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *propsed_mac);
22 #endif