/* @ops: AvbOps, contains AVB ops handlers @partition_name: partition name @offset_from_partition: offset from the beginning of partition @num_bytes: amount of bytes to write @buf: data to write @out_num_read: */
static AvbIOResult write_to_partition(AvbOps *ops, const char *partition_name, s64 offset_from_partition, size_t num_bytes, const void *buffer)
/* @ops: AvbOps, contains AVB ops handlers @partition_name: partition name @offset_from_partition: offset from the beginning of partition @num_bytes: amount of bytes to write @buf: data to write @out_num_read: */
static AvbIOResult write_to_partition(AvbOps *ops, const char *partition_name, s64 offset_from_partition, size_t num_bytes, const void *buffer)
{
	return mmc_byte_io(ops, partition_name, offset_from_partition,
			   num_bytes, (void *)buffer, NULL, IO_WRITE);
}