Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3525750ybt; Tue, 30 Jun 2020 05:12:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBAh4xxEHaEfYNlgK1IP0xgwQ4QzUG8bgTmdnwjdC4Cp+Ck9FwpSG1y/mf9lICbK8GKr9x X-Received: by 2002:a17:906:ce32:: with SMTP id sd18mr18664370ejb.228.1593519153034; Tue, 30 Jun 2020 05:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593519153; cv=none; d=google.com; s=arc-20160816; b=bpuXeVWdTWBH+n7BDXgYE1kVp9mrHyXJvzFfmJylVxJYVuA5OXQLw9D9amPmd+0Q47 DaGi8cB4Dtld2nsrhhrkTQRTyQxcd2G5E5TT2jCf5bf7YWSfxGHfgj0soM9AzCTbm9GR r1AW4M1pqUk1EcPSahEwc4y5n3aOexWNYlEi3ZZl4fjcNWR12R98YkGGKePQqqLcNYW6 7Jpic92lscaUOqeIIJCl8blpHael1mn7n+qhlUnD3r6YQZjrqcBri9BfvMxG0Yq5z5gN h8yL5Sz95cHRr/RHe7PPBK8pcBn+5sYMf01CdFiFaz4NzZz6PeYRS7c9ZJ0V5T1Jymo/ ybTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TFC+WBq7XDcW3TVW9x+KN+I5qxP4pcdSU4SbEe6OPp0=; b=csqJGLq/XdD0W4wBjYYNfKAXZX8gXHVNfeQSPCyvWcb6Ar9hnt3MJzfSuhE0I0XN0L N7AcfiGNnpMBqpycS/j927mSZYfV0l7E0w5Vmcieti307lejdBCN2OcUMH7unmbFqV4/ cedzoBHRzPygt6Ffej8ImVXqUnly+HV8/xnU2VrOFntBIv0ySgf4zl+05rmkqqou3IX5 jk3wSV0IJfHBey+vQJXt5Nk/pkeXj7W1kGusKoFdxYLvAgNpkbJM2obPiuxqVxpeyx36 ICXZvo4NIXJ4FW5q8OrXKurkUIczB8iWqB53C2EI20VXP8sGU/8OBIWCqSRWYU/PPR7n 0hdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d68s4qdC; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z13si1587712edr.106.2020.06.30.05.12.10; Tue, 30 Jun 2020 05:12:33 -0700 (PDT) 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=@linaro.org header.s=google header.b=d68s4qdC; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732036AbgF3Lrf (ORCPT + 99 others); Tue, 30 Jun 2020 07:47:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728419AbgF3Lre (ORCPT ); Tue, 30 Jun 2020 07:47:34 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11D5C061755 for ; Tue, 30 Jun 2020 04:47:33 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id u25so11179488lfm.1 for ; Tue, 30 Jun 2020 04:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TFC+WBq7XDcW3TVW9x+KN+I5qxP4pcdSU4SbEe6OPp0=; b=d68s4qdCmK1TtORh+eQRf0S7WXOcI+wvGvLs0azHsmlx3wZ3fI54RdBA5MqjXEH0p+ Dno6/2KH6VsHo19RJMbFwmdFbzQMnSLyHtrAwgCBbwyjgEzbuLqg9DKsoJh7YhxkHfbm tUL3kppZ8Sk8n2Af1NYQHQcMuczHcJ3e4AOZZpCTh+/uiCYXxwhp3IHzo4bKbUiJc1QQ 1ArdlHjQ0zEZBV3RpZBrpGl6hTIjj1jY0wI3SkzUY3vg+qU7IchTcVxls8NUWxD1QXk1 +du+8q924Xyfm35vp3ktf98nOwNKpTPgL2hUzZf++WzzPjFbIjwGpoLqiIcJN6Q8GN12 DjMA== 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=TFC+WBq7XDcW3TVW9x+KN+I5qxP4pcdSU4SbEe6OPp0=; b=HEixW+QJtGoK3ncXnhSkk4dvbAUAmTJmoGHZ34/jnJN2oV611X5OM3fPj+/b5mpopz dKOvxvMbLliqBa3XzbrnB1dTgIU/j2hEoxgplpypJU+Hbzb3uoHXSzqmP20SBh4EqGGn C7rvDIpF9MdBCjC0eYWKLnK22OG20fWHCB7oBTJG+n0/Cjtt3wdzMg5eoIwD4vMNuEDk tYpBAKe8jK0RQ9XBrgHh76Q5dzDNpLqNsQDWH4ExYHR98tFg63QqenQGlTWN15ECe0PG 1ym7wnnJ6VeS2gysIws1Tuh8V5CoJxUuZ7eizcnUveXv4ROBD+uRCz56m76LvzaAppbr cqnw== X-Gm-Message-State: AOAM533pfZFlV8xXUKL8SuZTDTfoN9bNuRfRHEDGzrkhyQ8iIIE9GdJM gpTQLISdUpYfvW5lsr2xg6H1mihAzBl7spj7s06/0bQI X-Received: by 2002:a19:c797:: with SMTP id x145mr11835531lff.143.1593517652008; Tue, 30 Jun 2020 04:47:32 -0700 (PDT) MIME-Version: 1.0 References: <20200625144509.17918-1-daniel.lezcano@linaro.org> <20200625144509.17918-3-daniel.lezcano@linaro.org> In-Reply-To: <20200625144509.17918-3-daniel.lezcano@linaro.org> From: Amit Kucheria Date: Tue, 30 Jun 2020 17:17:20 +0530 Message-ID: Subject: Re: [PATCH v2 3/5] thermal: core: Remove old uapi generic netlink To: Daniel Lezcano Cc: Zhang Rui , Srinivas Pandruvada , Ram Chandrasekar , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 8:15 PM Daniel Lezcano wrote: > > In order to set the scene for the new generic netlink thermal > management and notifications, let remove the old dead code remaining s/management/management api/ s/let/let's/ > in the uapi headers. > > Signed-off-by: Daniel Lezcano > --- > include/linux/thermal.h | 5 ----- > include/uapi/linux/thermal.h | 12 +----------- > 2 files changed, 1 insertion(+), 16 deletions(-) > > diff --git a/include/linux/thermal.h b/include/linux/thermal.h > index faf7ad031e42..fc93a6348082 100644 > --- a/include/linux/thermal.h > +++ b/include/linux/thermal.h > @@ -302,11 +302,6 @@ struct thermal_zone_params { > int offset; > }; > > -struct thermal_genl_event { > - u32 orig; > - enum events event; > -}; > - > /** > * struct thermal_zone_of_device_ops - scallbacks for handling DT based zones > * > diff --git a/include/uapi/linux/thermal.h b/include/uapi/linux/thermal.h > index 96218378dda8..22df67ed9e9c 100644 > --- a/include/uapi/linux/thermal.h > +++ b/include/uapi/linux/thermal.h > @@ -6,21 +6,12 @@ > > /* Adding event notification support elements */ > #define THERMAL_GENL_FAMILY_NAME "thermal_event" > -#define THERMAL_GENL_VERSION 0x01 > +#define THERMAL_GENL_VERSION 0x02 This hunk should be removed since you set version back to 1 in the next patch and we don't actually intend to bump the version yet. > #define THERMAL_GENL_MCAST_GROUP_NAME "thermal_mc_grp" > > -/* Events supported by Thermal Netlink */ > -enum events { > - THERMAL_AUX0, > - THERMAL_AUX1, > - THERMAL_CRITICAL, > - THERMAL_DEV_FAULT, > -}; > - > /* attributes of thermal_genl_family */ > enum { > THERMAL_GENL_ATTR_UNSPEC, > - THERMAL_GENL_ATTR_EVENT, > __THERMAL_GENL_ATTR_MAX, > }; > #define THERMAL_GENL_ATTR_MAX (__THERMAL_GENL_ATTR_MAX - 1) > @@ -28,7 +19,6 @@ enum { > /* commands supported by the thermal_genl_family */ > enum { > THERMAL_GENL_CMD_UNSPEC, > - THERMAL_GENL_CMD_EVENT, > __THERMAL_GENL_CMD_MAX, > }; > #define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1) > -- > 2.17.1 >