/* maple_getcond_callback - setup handling MAPLE_COMMAND_GETCOND @dev: device responding @callback: handler callback @interval: interval in jiffies between callbacks @function: the function code for the device  */
void maple_getcond_callback(struct maple_device *dev, void(*callback)(struct mapleq *mq), unsigned long interval, unsigned long function)
/* maple_getcond_callback - setup handling MAPLE_COMMAND_GETCOND @dev: device responding @callback: handler callback @interval: interval in jiffies between callbacks @function: the function code for the device  */
void maple_getcond_callback(struct maple_device *dev, void(*callback)(struct mapleq *mq), unsigned long interval, unsigned long function)
{
	dev->callback = callback;
	dev->interval = interval;
	dev->function = cpu_to_be32(function);
	dev->when = jiffies;
}