Eliminate data movement.

Pass pointer to ds1307 structure to function to access
them indirectly so we eliminate data movement.