Revision 964d32e512670c7b87870e30cfed2303da86d614 authored by Miklos Szeredi on 21 October 2021, 08:01:39 UTC, committed by Miklos Szeredi on 21 October 2021, 08:01:39 UTC
Instead of "goto err", return error directly, since there's no error
cleanup to do now.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 80019f1
Raw File
ak4641.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * AK4641 ALSA SoC Codec driver
 *
 * Copyright 2009 Philipp Zabel
 */

#ifndef __AK4641_H
#define __AK4641_H

/**
 * struct ak4641_platform_data - platform specific AK4641 configuration
 * @gpio_power:	GPIO to control external power to AK4641
 * @gpio_npdn:	GPIO connected to AK4641 nPDN pin
 *
 * Both GPIO parameters are optional.
 */
struct ak4641_platform_data {
	int gpio_power;
	int gpio_npdn;
};

#endif /* __AK4641_H */
back to top