Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1190234ybn; Wed, 2 Oct 2019 12:11:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8lzsEwIoqb2IYp1ANc4tvL0lqSrUNN0Zia0rB8z5rZiiXW8lHhL1fzNWnfu3okAWzmIFe X-Received: by 2002:aa7:dc49:: with SMTP id g9mr5559073edu.1.1570043476900; Wed, 02 Oct 2019 12:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570043476; cv=none; d=google.com; s=arc-20160816; b=i4W3y6BzHLEqrnjTNp5FXSsVPRlhiMxVdlLpH7yYqR73Wbh68LdvnfYuB8z+rcitFz k5SS6+PEhhzHc3KocMz9egB3QmQEE62J0wfa++s+M7drv1DoHiSvvTpbIo8cJ10NBZ6B geN/0ak4zi3Qvk8fUi53MxRzQd/yXmnJXKevqJW3fy4OyllPHwid/6T7fNznxBhXIQM6 fdUFmciD8Wvn2d02jGVQEtIQ6UquaBmYMGYI0+zbHxDgIcduClovBbIOApNFoKcEWKcU oyWT2XoQrOTeotBOF3fukjMzy71DARiAXanL85yhRY8kh73ONjDwYEBscE1Vhb9z4pn8 51Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=TF09JzUZ5ETKh7InGtX2pTx8QjxJC1b5uIJt9DaHQeY=; b=ihXDZBl8lzIIM8HvbMQ34XGwSjvxZHR3B74FFRCMmHfsR1QAnKZ/PYgLGWVytJOv5I prg+vi8CsnknSQVcz1wQKdXgvczuD3xtwtJecjr0kN724cQSqE3FQIR1J1R4nNOefaK/ Z+9L7uvaqEkwCp+DxO3uL0EI13ZQkXA/dhv4Heg8P5iKBZIvJpYKwMw0OUYAPoynqkpO wEja3oJWdS7KyzUYuv9ca2ep71IwHaCom4mhnGlTv1GiJSiC4NEPjt+DKZ1vDH6amNeb Gx+CynOv3FsxU9fBcK9+JjdnMVoQuRV7N5SGnqQAVMzz+0ldi7LDnpxOfUScFECgeAJV /2Gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h34si21985ede.247.2019.10.02.12.10.52; Wed, 02 Oct 2019 12:11:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729464AbfJBTIa (ORCPT + 99 others); Wed, 2 Oct 2019 15:08:30 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:35646 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729236AbfJBTIN (ORCPT ); Wed, 2 Oct 2019 15:08:13 -0400 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFjyr-000365-Kl; Wed, 02 Oct 2019 20:08:09 +0100 Received: from ben by deadeye with local (Exim 4.92.1) (envelope-from ) id 1iFjyo-0003eB-Oe; Wed, 02 Oct 2019 20:08:06 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Russell King" , "Wolfram Sang" Date: Wed, 02 Oct 2019 20:06:51 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 54/87] i2c: acorn: fix i2c warning In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.75-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Russell King commit ca21f851cc9643af049226d57fabc3c883ea648e upstream. The Acorn i2c driver (for RiscPC) triggers the "i2c adapter has no name" warning in the I2C core driver, resulting in the RTC being inaccessible. Fix this. Fixes: 2236baa75f70 ("i2c: Sanity checks on adapter registration") Signed-off-by: Russell King Signed-off-by: Wolfram Sang Signed-off-by: Ben Hutchings --- drivers/i2c/busses/i2c-acorn.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/i2c/busses/i2c-acorn.c +++ b/drivers/i2c/busses/i2c-acorn.c @@ -83,6 +83,7 @@ static struct i2c_algo_bit_data ioc_data static struct i2c_adapter ioc_ops = { .nr = 0, + .name = "ioc", .algo_data = &ioc_data, };