Format: void * listener(char * name)
The name of an input pin is passed as a string. This should be matched up against known input pins in the device, and a pointer to a suitable function to handle input to that pin is returned. The pointer should be cast to void *.
The format of the function should be:
void inputCallback(struct device *dev, char *input, unsigned long long value)
where inputCallback is a name chosen by you.