Files
Linux/include/linux/platform_data/regulator-haptic.h
T
Thomas Gleixner d2912cb15b treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):

  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

  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 #

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 4122 file(s).

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Enrico Weigelt <[email protected]>
Reviewed-by: Kate Stewart <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-06-19 17:09:55 +02:00

27 lines
691 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Regulator Haptic Platform Data
*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
* Author: Jaewon Kim <[email protected]>
* Author: Hyunhee Kim <[email protected]>
*/
#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 */