From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Date: Thu, 7 Nov 2019 09:20:15 +0100 Subject: [PATCH v2 1/2] gpio: Add definition for GPIO direction In-Reply-To: References: Message-ID: List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Nov 6, 2019 at 9:51 AM Matti Vaittinen wrote: > At least for me it is difficult to remember the meaning of GPIO > direction values. Define GPIO_LINE_DIRECTION_IN and > GPIO_LINE_DIRECTION_OUT so that occasional GPIO contributors would > not need to always check the meaning of hard coded values 1 and 0. > > Signed-off-by: Matti Vaittinen Patch applied. Yours, Linus Walleij