/* show_docked - read method for "docked" file in sysfs  */
static ssize_t show_docked(struct device *dev, struct device_attribute *attr, char *buf)
/* show_docked - read method for "docked" file in sysfs  */
static ssize_t show_docked(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct acpi_device *tmp;
	struct dock_station *dock_station = dev->platform_data;
	if (ACPI_SUCCESS(acpi_bus_get_device(dock_station->handle, &tmp)))
		return snprintf(buf, PAGE_SIZE, "1\n");
	return snprintf(buf, PAGE_SIZE, "0\n");
}