[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DE76338.30706@canonical.com>
Date: Thu, 02 Jun 2011 18:17:28 +0800
From: Ike Panhc <ike.pan@...onical.com>
To: Corentin Chary <corentin.chary@...il.com>
CC: platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Matthew Garrett <mjg@...hat.com>
Subject: Re: [PATCH 3/3] ideapad: Show negative when no camera
On 06/02/2011 05:43 PM, Corentin Chary wrote:
> I think it would be better to not add the file when the camera is not
> available. Another option is to return -ENODEV. But printing -1
> doesn't seems right.
>
Agree, making the node invisible is better.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists