mfd: Avoid two assignments if failures happen in tps65910_i2c_probe
[zen-stable.git] / include / media / noon010pc30.h
blob58eafee36b30dcec349bab3eaacb7f1696f2075f
1 /*
2 * Driver header for NOON010PC30L camera sensor chip.
4 * Copyright (c) 2010 Samsung Electronics, Co. Ltd
5 * Contact: Sylwester Nawrocki <s.nawrocki@samsung.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
13 #ifndef NOON010PC30_H
14 #define NOON010PC30_H
16 /**
17 * @clk_rate: the clock frequency in Hz
18 * @gpio_nreset: GPIO driving nRESET pin
19 * @gpio_nstby: GPIO driving nSTBY pin
22 struct noon010pc30_platform_data {
23 unsigned long clk_rate;
24 int gpio_nreset;
25 int gpio_nstby;
28 #endif /* NOON010PC30_H */