Re: Thermal: CPU Package temperature thermal

From: Srinivas Pandruvada
Date: Thu Jul 11 2013 - 19:19:52 EST


On 07/11/2013 04:08 PM, Dave Jones wrote:
> +static int sys_get_curr_temp(struct thermal_zone_device *tzd, unsigned long *temp)
> +static int sys_get_trip_temp(struct thermal_zone_device *tzd,
> +int sys_set_trip_temp(struct thermal_zone_device *tzd, int trip,
> +static int sys_get_trip_type(struct thermal_zone_device *thermal,
I saw these and thought "huh, syscalls in a module?"

Perhaps a better prefix can be used here for these function names ?

Dave


Certainly. Here "sys" stands for "sys-fs".

Thanks,
Srinivas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/