Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbbLTShZ (ORCPT ); Sun, 20 Dec 2015 13:37:25 -0500 Received: from plaes.org ([188.166.43.21]:52939 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbbLTShW (ORCPT ); Sun, 20 Dec 2015 13:37:22 -0500 From: Priit Laes To: Thomas Petazzoni , =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Priit Laes Subject: [PATCH 11/13] staging: fbtft: Use standard MIPI DCS command defines for fbtft driver Date: Sun, 20 Dec 2015 20:36:05 +0200 Message-Id: <1450636567-2040-12-git-send-email-plaes@plaes.org> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1450636567-2040-1-git-send-email-plaes@plaes.org> References: <1450636567-2040-1-git-send-email-plaes@plaes.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4804 Lines: 142 This patch makes use of the standard MIPI Display Command Set to remove some of the magic constants found in source code. Signed-off-by: Priit Laes --- drivers/staging/fbtft/fbtft-core.c | 14 +++---- drivers/staging/fbtft/fbtft_device.c | 71 ++++++++++++++++++++++++------------ 2 files changed, 54 insertions(+), 31 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index b1e4516..7f7ff1b 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -35,6 +35,7 @@ #include #include #include +#include