Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753266AbbD0Py7 (ORCPT ); Mon, 27 Apr 2015 11:54:59 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:34141 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753073AbbD0Py4 (ORCPT ); Mon, 27 Apr 2015 11:54:56 -0400 MIME-Version: 1.0 In-Reply-To: <64714.10.254.87.235.1430149342.squirrel@linux.intel.com> References: <1430146908-27919-1-git-send-email-octavian.purdila@intel.com> <1430146908-27919-4-git-send-email-octavian.purdila@intel.com> <64714.10.254.87.235.1430149342.squirrel@linux.intel.com> Date: Mon, 27 Apr 2015 18:54:54 +0300 Message-ID: Subject: Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects From: Octavian Purdila To: sathyanarayanan.kuppuswamy@linux.intel.com Cc: Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald , Robert Moore , Rafael J Wysocki , lenb@kernel.org, linux-api@vger.kernel.org, lkml , "linux-iio@vger.kernel.org" , "linux-acpi@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 855 Lines: 19 On Mon, Apr 27, 2015 at 6:42 PM, Kuppuswamy Sathyanarayanan wrote: > Since Acpi framework already exports this info to user space, Why not do > this derivation in user space code ? Why do we need new ABI, if the same > can be derived from existing one. > The ABI was added in the previous patch so that we can present the sensor orientation information to userspace even in the case of device tree. The purpose of this patch is to provide a consistent ABI to userspace, i.e. to avoid doing one thing in the ACPI case and another thing in the case of device tree. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/