From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82BAD13D8B4; Fri, 12 Jul 2024 07:28:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720769305; cv=none; b=S0VIKanZHYwyyWO5KuICapaHxcjmQ54SyV3/jmeM4po1PnjgwqnsR8uQF+JsZmaL7fxExJ/jnVgChv8y4WchBWPVqURKWYcAn3rDZMejtpiXOHBDi7DJR0h5ginS++CsnclXhaDJXmDnVssCbMiNNJ7hVPfzxEQLR2haMT8iOrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720769305; c=relaxed/simple; bh=Iky2WPx+4OP80B9F95acPAPyfGnDDmeUABZwX3dhAQM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oBWWOLWN8wVsgodAuJcRNHFdsZXuzExUE3/hSs8R/53KS84erDSbKJAPGia5YteOtoUqKn/ZNZ4oBae7DZgzf2ZFfSfJnoSpq+EFueXs7biVonti8O8RwJC7wS9wwh9lexnwZXJ5XwE2scpqKyFF6AVSv/Mhojj2u8dUxjutWPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vW/FBh+J; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vW/FBh+J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC575C3277B; Fri, 12 Jul 2024 07:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720769305; bh=Iky2WPx+4OP80B9F95acPAPyfGnDDmeUABZwX3dhAQM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vW/FBh+JXpIgMdlUyp1GBq68u18XUnHjn1Gt0pDstXO9F7sj+3m7lers87o8AvTtt hnC4zJsDi+O43kqaTz7NpboOl3Nke7z/NZ0obhgXYSNjHGmZ9Idm1t1nKssrNlpcwh mttexYrZIHoyBxYCFgumgMTQmBWH+ShKTxBB3WeU= Date: Fri, 12 Jul 2024 09:28:22 +0200 From: Greg KH To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/8] Input: usbtouchscreen - use guard notation when acquiring mutexes Message-ID: <2024071217-ladle-zoologist-e1e2@gregkh> References: <20240712051851.3463657-1-dmitry.torokhov@gmail.com> <20240712051851.3463657-7-dmitry.torokhov@gmail.com> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240712051851.3463657-7-dmitry.torokhov@gmail.com> On Thu, Jul 11, 2024 at 10:18:49PM -0700, Dmitry Torokhov wrote: > This makes the code more compact and error handling more robust. > > Signed-off-by: Dmitry Torokhov > --- > drivers/input/touchscreen/usbtouchscreen.c | 65 +++++++++++----------- > 1 file changed, 33 insertions(+), 32 deletions(-) Reviewed-by: Greg Kroah-Hartman