treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / pci / ivtv / ivtv-i2c.h
blob2d9cdaa682c5869b72199d5f3d16a6db505f7b68
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 I2C functions
4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
7 */
9 #ifndef IVTV_I2C_H
10 #define IVTV_I2C_H
12 void ivtv_i2c_new_ir_legacy(struct ivtv *itv);
13 int ivtv_i2c_register(struct ivtv *itv, unsigned idx);
14 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw);
16 /* init + register i2c adapter */
17 int init_ivtv_i2c(struct ivtv *itv);
18 void exit_ivtv_i2c(struct ivtv *itv);
20 #endif