Add pwmd_set_pointer() and pwmd_get_pointer().