]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/platform_data/regulator-haptic.h
net: rtnetlink: validate IFLA_MTU attribute in rtnl_create_link()
[mirror_ubuntu-bionic-kernel.git] / include / linux / platform_data / regulator-haptic.h
1 /*
2 * Regulator Haptic Platform Data
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
6 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13 #ifndef _REGULATOR_HAPTIC_H
14 #define _REGULATOR_HAPTIC_H
15
16 /*
17 * struct regulator_haptic_data - Platform device data
18 *
19 * @max_volt: maximum voltage value supplied to the haptic motor.
20 * <The unit of the voltage is a micro>
21 * @min_volt: minimum voltage value supplied to the haptic motor.
22 * <The unit of the voltage is a micro>
23 */
24 struct regulator_haptic_data {
25 unsigned int max_volt;
26 unsigned int min_volt;
27 };
28
29 #endif /* _REGULATOR_HAPTIC_H */