hwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 27 Sep 2017 15:20:50 +0000 (16:20 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 28 Feb 2018 16:37:57 +0000 (16:37 +0000)
commitd57538004b2e57be6a5d8583b65d1b049245abf7
tree1ef931d3146d4604962ee091fe45acf2ad8bad88
parent6d6a1d82eaef705f150c441350559bf5daccb533
hwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration

It's useful to know the maximum types of sensor supported by hwmon
framework. It can be used to allocate some data structures when sorting
the monitors based on their type.

This will be used by scmi hwmon support.

Cc: linux-hwmon@vger.kernel.org
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
include/linux/hwmon.h