treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / include / media / i2c / sr030pc30.h
blob84c602d681fa874aee7eeb73cb0d47aa16a7804b
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Driver header for SR030PC30 camera sensor
5 * Copyright (c) 2010 Samsung Electronics, Co. Ltd
6 * Contact: Sylwester Nawrocki <s.nawrocki@samsung.com>
7 */
9 #ifndef SR030PC30_H
10 #define SR030PC30_H
12 struct sr030pc30_platform_data {
13 unsigned long clk_rate; /* master clock frequency in Hz */
14 int (*set_power)(struct device *dev, int on);
17 #endif /* SR030PC30_H */