That's basically it. The bus should have already known about the existence
of the device, filled in the fields of struct device and registered it in
the global tree.
As Jeff Garzik suggested:
sanity check h/w to make sure it's there and alive
stop DMA/interrupts/etc., just in case
start timer to powerdown h/w in N seconds
in which interface would be your device node (char dev, devfs node, etc).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/