Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5001559pxu; Tue, 22 Dec 2020 06:12:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgt/G+hMHavtXoeLZJG6u9fSP49El4OZjimC3XQQQCXm9kJyv3MZq6fA5pJOtZORWqEcub X-Received: by 2002:a17:906:e15:: with SMTP id l21mr20097867eji.509.1608646346482; Tue, 22 Dec 2020 06:12:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608646346; cv=none; d=google.com; s=arc-20160816; b=s6YVWrOnHehWFYCcW9Y0uQU8prFPJPPMDgBIQ1ArxQsrP8kOxMLZqLkkvpSfViHtZi v6Trn5xkn3Eea20DSCw6TMvYB9wjwPnu+SHFkjjPzxDE7TdYEhXriIhwx8ghlNfyerb9 MiMJ3fHdJqzxPCLt93CAwu9cu9imowBDGmg0515tQsohnHOqjdyUa6kknZcGsffqFyIg rgPjvfAdDtecy/VqFwxaiGr1jztJs/KLjHY0q/mrOJJrqrZjht4Aj8TnFEi6sjZI25El B51/ZZ5ILbwYDxeh03i3Dh3tLw8MtSS20ddRVYY1HpLaDydcKtFEBCuyk4GUuNPErxXd d/Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=y1lU1YgL6+E1+qOuXe7lokwiGciBRY0e4F95lRdLuOQ=; b=JujO78vDTPiItC8TYwhkLQTj+iLEdHN78zX6e02z4utyRiTF/vo39z11kHTxo5v2AB dOrxt0uL5djtuu2SHYmxfhJGcsl5PstwuSWZxrWtjZvLrMv+HHPK9jT6306xFOSNCgHn QoktpYJB6U/+2CBI8+KFfMJeKLugBbwCRM9mNBefO8bwfZdZM+ngQhZ4WXNUxhhR3cN9 9OHFf3/DPon3YpVD/7ARfVBMWF697RJxjoVxziCfce0XdTk7hlH9/fYb+5Bd/PP8waFD JiGGn5vGCq2LXwgV1gjCl48SjyUGZdbo+wpb0j/uQUChT1SSuthn7c3IO03wzCElebtI lwbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nDqp6cFt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si13082366edv.243.2020.12.22.06.11.55; Tue, 22 Dec 2020 06:12:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nDqp6cFt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727292AbgLVOLj (ORCPT + 99 others); Tue, 22 Dec 2020 09:11:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727235AbgLVOLj (ORCPT ); Tue, 22 Dec 2020 09:11:39 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98E4AC0613D3; Tue, 22 Dec 2020 06:10:58 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id s26so32211846lfc.8; Tue, 22 Dec 2020 06:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y1lU1YgL6+E1+qOuXe7lokwiGciBRY0e4F95lRdLuOQ=; b=nDqp6cFt1MP+0v648JrkyGlAzQVj2jltRB7/qmuFLNi7Llooj3rgD2FDVBaS0VwWxe vS54tcRB5i2QKKd/5vKYdE7t0T2zE0DwZEvRn6gnxPd/v6Uy1ggeRENAXTIalyl20ob8 ZdqtXOpK0NdHFAZVayf+qRarbssOLB/x2tTghKeqRpujYNHvoIml2/RMiDTU0ykqHCAM 5739KtmoxLiY8udnybC0fSunTBQikkMM41/jkEoQRJPs7A1bl1jv8ap9WEJmp+nkCq0N LxdgmbwqopZC4NFnRGzaFaAZCCMeOq0Ut1t//8gZtxYv2Bx3ERLkNdSl6dhNEiQe18HL 93Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y1lU1YgL6+E1+qOuXe7lokwiGciBRY0e4F95lRdLuOQ=; b=InFoblKHBJw+YVdQo8sJyCu90ACN4kBHy6FSnOe333WWyOvWoxiSJXKEKNp+FlsDi5 1xT9DqUl53gN7+CHrwDfqZUQ3DfP6KS8oliT+TMNcUxBZZJr0nsOhbE8griw5sW3BuLu eI/4oAkmFEymR25ANTRlCbj8LCrTj80ASQCJ0aYGODho2FwuZORZN14TmRStAXwI8AN3 wHF0v2PbvE+nGuzQf14vwC7/bUusMSSqvqyf5bmaWP9WNxPLB4LwoXiyYxWb/rxRsq4r nhDOlzBvZmrCSoARBZNQWO/wfFzk1+7LPHtQUPxs5NeNGiC01dIjZlamMPE4f/sC95nT SKzg== X-Gm-Message-State: AOAM533kZbtu4KSqL1q9oHsXeRvLIXiENoSgZ37rpyIuiWXu7ZNZ4UdM LbGhtJ4+6B8IBVMpMMHowXHLMApaZs6CaicUk3s= X-Received: by 2002:a19:e20a:: with SMTP id z10mr2080146lfg.295.1608646257078; Tue, 22 Dec 2020 06:10:57 -0800 (PST) MIME-Version: 1.0 References: <20201222133131.19525-1-zhengyongjun3@huawei.com> In-Reply-To: <20201222133131.19525-1-zhengyongjun3@huawei.com> From: Fabio Estevam Date: Tue, 22 Dec 2020 11:10:45 -0300 Message-ID: Subject: Re: [PATCH -next] i2c: busses: use DIV_ROUND_UP macro to do calculation To: Zheng Yongjun Cc: Oleksij Rempel , Shawn Guo , Sascha Hauer , linux-i2c , linux-kernel , Sascha Hauer , NXP Linux Team Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zheng, On Tue, Dec 22, 2020 at 10:31 AM Zheng Yongjun wrote: > > Don't open-code DIV_ROUND_UP() kernel macro. > > Signed-off-by: Zheng Yongjun Reviewed-by: Fabio Estevam