Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4393926imu; Sat, 19 Jan 2019 08:28:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN6PRDwGWWSzbNbd4XG6IQBBSmQ7jegCgcIcIsD8LhbajqHGeJmILnCjkNcMVI/sINJq7ak1 X-Received: by 2002:a63:981:: with SMTP id 123mr22175601pgj.444.1547915330961; Sat, 19 Jan 2019 08:28:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547915330; cv=none; d=google.com; s=arc-20160816; b=kXi4Oy5znc7Fu29C/KCspibM5UIs1ZgHu9jLdf/5EKXhZnWdwfXwzLQzmxGSeIL1Zt qOKCo4F0/2HTsej+3fcmXCT67tOrlzn4xlte4AAgKEI+z5kbD2GG37fNzBibxhjQcVi8 bfQY2Ccb6KQLnhyD4Ortb9N4dPmyAcQhyOs80E4IbjVq6aBd4bjSaGqKmgeqJCA/0GbN mrVCPvm82PR6HhWxWHFSaniQj18vFzMAjDSYqSCvNWTWF0/jVUyJhDYYoo/SD18CufIU tgiF1+b+28ACrTPXGNSxzZvCPYBT7GosTisUsWaq2nVi8mFbXMYDV1gCZhHuao6Mq8L/ j/YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=bk6YHkrN79KBpYNbpyXdgU6SAl9H9FvkZ8RPpWBaXoc=; b=zHE2NlvR3Ap9Bdh6mitwyv7jyc/xW+rWzGxLW4UbRKR5y6Z1RkSMeguAPpHAirPxRJ +z1rWMBdAp74RnnT54rq6YlBz1kL2S13iFBTYwJUxYjYPFKkrbijho9ovIEmU78ZWycL wh2xfamwV7Ke8ltnlzd7vuEAZpiPgUV/lTr8vK/ahNZwLRCGIcgS8z0wIcWqFBi69ZVX u7vp/gFmCgvnIsqvH5k+Csx/AalYGtNvm6qZytdZxavRIMjIeKwGATbAWpM0ml4XPEAw E6qSSkRwQeLrU/NKfvVszDpBPzdL6L4aBJnPCgK/v1vWOYhPGBjt/1my+W8Mk8JWobIC fNUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cHURv9bR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p18si6713359plo.223.2019.01.19.08.28.32; Sat, 19 Jan 2019 08:28:50 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cHURv9bR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728425AbfASQE7 (ORCPT + 99 others); Sat, 19 Jan 2019 11:04:59 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:46540 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728312AbfASQE7 (ORCPT ); Sat, 19 Jan 2019 11:04:59 -0500 Received: by mail-pl1-f195.google.com with SMTP id t13so7705217ply.13; Sat, 19 Jan 2019 08:04:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=bk6YHkrN79KBpYNbpyXdgU6SAl9H9FvkZ8RPpWBaXoc=; b=cHURv9bRxV5tw6yiYEZVDPyXgY8/D1JnFN5o2x1izlHLVatjhcHNRDzovkBMeAWn3C RTN5voEfFW2cSYGAKNu5l2ZU7ZmxR5E/Bl63+4gFmBfp7gzF5AyD9WFh1RiavD452KXm bEDch521E5/DKkPD4MLq38nbuySbNiyqHeJ4JxWuLBpHb4J5hvaLpfmo7Z9Rs+VSBwOq 1St3jArvHLaeUpZTSPNFELEMa4x/4xxHQ9baGwlXP+RsAEC8bBmPMV0nJUMx8A+W0qkA lz7aWYlGpDCahoYj2qao6tR2FwTYNcsbQrclrRTXz9yeQo4th9qtTbj5Kp8FEFP4OnPX 4g1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bk6YHkrN79KBpYNbpyXdgU6SAl9H9FvkZ8RPpWBaXoc=; b=qS+MFbBL07hs4fChOQNOugMs2GILtsMLKWyiFpAbWd2Ro7hTLayOYlXp2kziWpaOC6 uVrvXGgjfVW33IxzBIFpWYNp2uDW0YLbkGcmZnF6ASn3mhxnCJ2kHqkT1W41kaaI8Vdq FfOoppquVR5QbQch0GavZqPHLUnJ5E/dwlRhUGJ9xY6W8I73ipeU7dqoetYYgMh/ECCN KyUA7AX8nIFxALfSS0srXLqjSw/RlTHnGEvjctCI3v0ZsPSKKyonyp+1zwUIruagz7gI GbfqfG8TwjvRzVzisbuF5Hf6L8rSyzQ750xIc1bJFTzN0xqNk5tOP1MAPRzEWZPwrS/f iFYA== X-Gm-Message-State: AJcUukdeanCNfTunDyg42dydlvLn/GzWKxK4k95KXZGH8/RrAx+LhEBo YnjOuFf9oisyYbV+lR3ULBPvP3W++Mg= X-Received: by 2002:a17:902:bf44:: with SMTP id u4mr23585839pls.5.1547913898261; Sat, 19 Jan 2019 08:04:58 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id q1sm10908798pfb.96.2019.01.19.08.04.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Jan 2019 08:04:57 -0800 (PST) From: Yangtao Li To: myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com, linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH 1/3] PM / devfreq: fix indentation in devfreq_add_device() Date: Sat, 19 Jan 2019 11:04:52 -0500 Message-Id: <20190119160454.23151-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To beautify the code format. Signed-off-by: Yangtao Li --- drivers/devfreq/devfreq.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 0ae3de76833b..076b1c2f40a4 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -683,16 +683,15 @@ struct devfreq *devfreq_add_device(struct device *dev, goto err_out; } - devfreq->trans_table = - devm_kzalloc(&devfreq->dev, - array3_size(sizeof(unsigned int), - devfreq->profile->max_state, - devfreq->profile->max_state), - GFP_KERNEL); + devfreq->trans_table = devm_kzalloc(&devfreq->dev, + array3_size(sizeof(unsigned int), + devfreq->profile->max_state, + devfreq->profile->max_state), + GFP_KERNEL); devfreq->time_in_state = devm_kcalloc(&devfreq->dev, - devfreq->profile->max_state, - sizeof(unsigned long), - GFP_KERNEL); + devfreq->profile->max_state, + sizeof(unsigned long), + GFP_KERNEL); devfreq->last_stat_updated = jiffies; srcu_init_notifier_head(&devfreq->transition_notifier_list); -- 2.17.0