Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751504AbaLOQLz (ORCPT ); Mon, 15 Dec 2014 11:11:55 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:58556 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750871AbaLOQLw (ORCPT ); Mon, 15 Dec 2014 11:11:52 -0500 MIME-Version: 1.0 In-Reply-To: <548E155A.7050000@gmx.de> References: <1417613513-28285-1-git-send-email-daniel.baluta@intel.com> <1417613513-28285-4-git-send-email-daniel.baluta@intel.com> <548E155A.7050000@gmx.de> Date: Mon, 15 Dec 2014 18:11:50 +0200 X-Google-Sender-Auth: 6dGFFCpZvZK7NlBF5E1w3lrxHoE Message-ID: Subject: Re: [PATCH v4 3/6] iio: imu: kmx61: Add PM runtime support From: Daniel Baluta To: Hartmut Knaack Cc: Daniel Baluta , Jonathan Cameron , Peter Meerwald , Srinivas Pandruvada , "linux-iio@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 15, 2014 at 12:55 AM, Hartmut Knaack wrote: > Daniel Baluta schrieb am 03.12.2014 um 14:31: >> By default both sensors are ACTIVE, in this way the driver >> will work even if CONFIG_PM_RUNTIME is not selected. >> > Since kmx61_set_power_state() can return error codes, wouldn't it be better to > handle them (as long as you are not using it in an error handler)? > Thanks, That's correct I will send a patch asap. Daniel. -- 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/