treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / usb / pvrusb2 / pvrusb2-sysfs.h
blobac580ff39b5fa438adcfa9bc68ee7fae7987ea50
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
4 * Copyright (C) 2005 Mike Isely <isely@pobox.com>
5 */
6 #ifndef __PVRUSB2_SYSFS_H
7 #define __PVRUSB2_SYSFS_H
9 #include <linux/list.h>
10 #include <linux/sysfs.h>
11 #include "pvrusb2-context.h"
13 struct pvr2_sysfs;
14 struct pvr2_sysfs_class;
16 struct pvr2_sysfs_class *pvr2_sysfs_class_create(void);
17 void pvr2_sysfs_class_destroy(struct pvr2_sysfs_class *);
19 struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *,
20 struct pvr2_sysfs_class *);
22 #endif /* __PVRUSB2_SYSFS_H */