/* Get the parent device driver (us) structure from a child function device  */
static struct locomo* locomo_chip_driver(struct locomo_dev *ldev)
/* Get the parent device driver (us) structure from a child function device  */
static struct locomo* locomo_chip_driver(struct locomo_dev *ldev)
{
	return (struct locomo *)dev_get_drvdata(ldev->dev.parent);
}