Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 15ade5d2e7775667cf191cf2f94327a4889f8b9d authored by Linus Torvalds on 08 April 2019, 00:09:59 UTC
Linux 5.1-rc4
Tip revision: 15ade5d
regulator-haptic.h
/*
 * Regulator Haptic Platform Data
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef _REGULATOR_HAPTIC_H
#define _REGULATOR_HAPTIC_H

/*
 * struct regulator_haptic_data - Platform device data
 *
 * @max_volt: maximum voltage value supplied to the haptic motor.
 *		<The unit of the voltage is a micro>
 * @min_volt: minimum voltage value supplied to the haptic motor.
 *		<The unit of the voltage is a micro>
 */
struct regulator_haptic_data {
	unsigned int max_volt;
	unsigned int min_volt;
};

#endif /* _REGULATOR_HAPTIC_H */
back to top