static ssize_t show_tabletToolMode(struct device *dev, char *buf)
static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf)
static ssize_t show_tabletToolMode(struct device *dev, char *buf){	struct aiptek *aiptek = dev_get_drvdata(dev);	char *s;	if (aiptek == NULL)		return 0;	switch (TOOL_BUTTON(aiptek->curSetting.toolMode)) {	case AIPTEK_TOOL_BUTTON_MOUSE_MODE:		s = "mouse";		break;	case AIPTEK_TOOL_BUTTON_ERASER_MODE:		s = "eraser";		break;	case AIPTEK_TOOL_BUTTON_PENCIL_MODE:		s = "pencil";		break;	case AIPTEK_TOOL_BUTTON_PEN_MODE:		s = "pen";		break;	case AIPTEK_TOOL_BUTTON_BRUSH_MODE:		s = "brush";		break;	case AIPTEK_TOOL_BUTTON_AIRBRUSH_MODE:		s = "airbrush";		break;	case AIPTEK_TOOL_BUTTON_LENS_MODE:		s = "lens";		break;	default:		s = "unknown";		break;	}	return snprintf(buf, PAGE_SIZE, "%s\n", s);}