/* Lower values of k allow to connect a faster fan without the risk of counter overflow. The price is lower resolution. You can also set counttime using the module parameter. Note that the module parameter "prescaler" also influences the behaviour. Unfortunately, there's no sysfs attribute defined for that. See the data sheet for details.  */
static ssize_t get_div(struct device *dev, struct device_attribute *devattr, char *buf)
/* Lower values of k allow to connect a faster fan without the risk of counter overflow. The price is lower resolution. You can also set counttime using the module parameter. Note that the module parameter "prescaler" also influences the behaviour. Unfortunately, there's no sysfs attribute defined for that. See the data sheet for details.  */
static ssize_t get_div(struct device *dev, struct device_attribute *devattr, char *buf)
{
	struct max6650_data *data = max6650_update_device(dev);
	return sprintf(buf, "%d\n", DIV_FROM_REG(data->count));
}