Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934019AbcCNJWM (ORCPT ); Mon, 14 Mar 2016 05:22:12 -0400 Received: from mail-bn1on0090.outbound.protection.outlook.com ([157.56.110.90]:46569 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932086AbcCNJV5 (ORCPT ); Mon, 14 Mar 2016 05:21:57 -0400 Authentication-Results: the-dreams.de; dkim=none (message not signed) header.d=none;the-dreams.de; dmarc=none action=none header.from=caviumnetworks.com; Date: Mon, 14 Mar 2016 10:21:41 +0100 From: Jan Glauber To: Wolfram Sang CC: , , David Daney , David Daney Subject: Re: [PATCH v3 03/14] i2c-octeon: Cleanup resource allocation code Message-ID: <20160314092141.GB2503@hardcore> References: <20160312153715.GF1661@katana> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160312153715.GF1661@katana> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [109.193.40.177] X-ClientProxiedBy: AM3PR04CA0015.eurprd04.prod.outlook.com (10.242.16.15) To DM2PR0701MB762.namprd07.prod.outlook.com (10.242.126.19) X-MS-Office365-Filtering-Correlation-Id: da683c52-1d0a-4263-244b-08d34bea15e5 X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB762;2:SAdwQhqorieWN70nzSK3UmVHKLaQwvWRCZfJSyIq+b/SHQ0DJKrpU6iEep7Eh96iMav25al0YHtwb6M6xla+GBGwppZMmffN2Rj5HP+2r4AjLdwfcSJjlcyBEAIDDQEYQH1wLm5IEbYfT3G2n3FUai9GYfZuReHXRWudoxkWbFpMmAlnJtipU27kk8CXkot5;3:n++Inin1mzujj35vEdFMLzqBNf7FZ0Bu2F2D8HSoJSgo4w9al378tzd1gwB10dz2oheN2Uc4YEbzXaP7NAiByBtHTt81cFBFwHYDaAlU/3VgEU9Y95JFFLju/0c+gM8w;25:bI2GNxc/1vvnltH7riJvBPE5JYgk9kbtnXllf6Ua0qb5XDugd6d2bLVJIPh6Sr4BQvfEVU++vnk/HtnJAZ1mPPJTnqMmv8AwwRph8pjzLM4efUPvFsRvTt9f/mrMHzka5HEaFEuJkKUntxMaI46+u2CLFlFu7A0Ctt9j+KSyDELAeCQW8ezpPAVFegiz2XijpeqVI06jdKeqt6QsOeqalE2C8RNLIVy0hxznvy4NYjNk+HTZxQJokmh0ue/eieGqzHQa6bdTJlO1TsyD90Z/k/caTPK3w7Y4PeYCvKhETpyLmY08rdc1GUx9UfMl8oplazlwDtJubIZzgqxLCK70Bw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0701MB762; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB762;20:W2lKdiNDU3wWO5NHlEmmwzyhPV2cbth9ChwyYxUj2X5UwZIAa66ThK4a15/TOq4rPCrvZv8RCD4Bizl0d/nw2Ey4lVMhEXA8aHWjaj0iHVmb2iZiaJ+ygRLV2KCTeTLV9wg4tav0IBvk+r4d8FT1i+oQEq9LR0bIzWhddBBLUf5zlM3ZvZfLkP8o8nB1k8yv6iYygtbqq2qOG11dqvFiojWjlMDX79fb+DBOUu8fio+WswXO1653KgyMeaBpVtcczt+J+NfVb4iD+VL3T3YmyY6DJ/PvSE7ttR/GYXHMIVgCEorXisQMLZY+yyGi5HiU7Lh5eN8MrW4RrnMyKbMcrjWWTJG7KCNWSdsZEliD5/xQNJ013OYdypNoMREgPWCaBtdiC3gMOKdsLjeWldyU9qrRo78Q8AoV9psu3bPn/4XaJ4mmIHQGDwOzEZE5vRItyGVwHg/fbE1fNMy7tkiipxrJdVWxrdF+sgLnRJZfaqRIT/HilNm15hghZCoA1KsRyMzGVdoYX91W09rihQjw/PobnPKCstLi88mFM5HCuNV3NHxhuFjGbeix36m47HLFmMGhwbk3ur+/jLgy91A/CPhdUYIdl49+sRZy/g8a8Rc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:DM2PR0701MB762;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0701MB762; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB762;4:S+ByYv58YBLI4CRnbx8tdIIq0hJEz6x/WT108Xq+OGOaYLrDb+uadUJeSQxOV8k7TlMQc4dTNYPe6YMJUwsDDa3tLJsnF2tI2Gc0MN2WjElODE0M9S1LqGF2vZgMJ5V2cOEy77uNNb/aVDROStqFZElaBfCX7n5WJMC1c7gXwScH1+eEjXZXZFumklooQLlPgk9hPRo9jDtJ5j+KpThtYgvZ8WnkEUvZOE5MaopZqRajaoO+VrHGdIvBE6aB6fWh/8DNH3HqlyWXoyfmjy9jDvu4l3MNb3+oog929dsX/9OlOXkeWxSM62zA33JWWKK90w3BEfUvn4nEhgnb0zJpdPl7d0Be+BHV8wnO/HF/Joq0t+JGeo3H7BQ49kGf3iXB X-Forefront-PRVS: 0881A7A935 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(24454002)(66066001)(19580395003)(4326007)(50466002)(77096005)(586003)(47776003)(46406003)(189998001)(42186005)(92566002)(1096002)(54356999)(5008740100001)(76176999)(33716001)(5004730100002)(2906002)(2950100001)(83506001)(33656002)(97756001)(81166005)(50986999)(1076002)(86362001)(110136002)(3846002)(23726003)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0701MB762;H:hardcore;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0701MB762;23:9dG/lD0BHfZ2hQrwygvcuMD/+vjJxuf8Zj/coM/Vu1IAZh9I40TiXdo6btNM6wfH9Td33fkoSETAIEFKXVXhwqYiPQZVbLgr9VAjoSI6PMKC6DecuR+NMcAXq3lpV7asIawnTwXLMDDfGiEwQDmA8oxXA5U/zPwJbVtcVETKOCOKm+s3E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agnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2016 09:21:53.9109 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB762 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 413 Lines: 13 On Sat, Mar 12, 2016 at 04:37:15PM +0100, Wolfram Sang wrote: > On Mon, Mar 07, 2016 at 04:10:46PM +0100, Jan Glauber wrote: > > From: David Daney > > > > Use resource start and size directly. > > > > Signed-off-by: David Daney > > Signed-off-by: Jan Glauber > > What about converting to devm_ioremap_resource()? > Nice. I'll use that.