From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F356CC6FA8F for ; Tue, 29 Aug 2023 21:19:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236348AbjH2VTb (ORCPT ); Tue, 29 Aug 2023 17:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239464AbjH2VTO (ORCPT ); Tue, 29 Aug 2023 17:19:14 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 373FCE4E for ; Tue, 29 Aug 2023 14:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693343790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MsrqElhKNPNFgbdwVrAQrRLanlnRhnvN8+BVbNKQ4M0=; b=HStmvFcNVW1hPdfrXmMlV05gX3TByTJ4CfKUGvCI0Ty+ePnuZon4466LdMLdIbs1hu39qh Dc5WraS7/EmfLLb/L385iobQjCOwK2MhPpPld50dD+FCg9eU3eZmJkIh7s+voPWMu/BboA bbTCsJFyPJgckPBbp30DSTlbBPlyvhQ= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-257-AeZvATk6N_OrGAk0tIpbPA-1; Tue, 29 Aug 2023 17:16:28 -0400 X-MC-Unique: AeZvATk6N_OrGAk0tIpbPA-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f41a04a297so32626155e9.3 for ; Tue, 29 Aug 2023 14:16:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693343787; x=1693948587; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MsrqElhKNPNFgbdwVrAQrRLanlnRhnvN8+BVbNKQ4M0=; b=ObBKQMaZp/TEmTC9hORbcQ164KeN4zVG4zsMXZXfL2iPQ4yJt1UEpGCe780XvC4zQ3 flOXhRnmFNhHZzrnsnJ4eUWjhK5pfUyp7DJYiKTJO7CV5ZKhk/UWzgdDcb67KIE18YcK /oUsW50yO4WA91fghDkEHG0GqOlHGpEeubdMy6f/RVMSkY0QwOiBB4pjXuWgHECsCx/a zL6x6ToZrGbna8oZ8XBPb0NuGae4vj/Px27er9tFFECd7IKmVxUnof+Tr7/AMWNGGlav /aOwGI90a1SNwlS6uyz7gUiLMwCfV2qOdgiQaM1vJqnhv4Gsw3Lb1RnVByykamIAjJXb 8aFw== X-Gm-Message-State: AOJu0YymsARdL4DfhzmBkxgkKCkKKZFvSpojktsYrihiBrBC1dHeCWbw SlGVMloFsUjWZqwQ52OhIMJlCZZp2kIveAaUma3Ix8N9amQaYWYWg97IuoBUrUZeXv8clgIAMmi WThSD1ub4EWi6wigqVlxUi1MYb/6J5tzT X-Received: by 2002:a05:600c:218f:b0:401:b204:3b85 with SMTP id e15-20020a05600c218f00b00401b2043b85mr308615wme.36.1693343787057; Tue, 29 Aug 2023 14:16:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8Aqi5DaDFyulOBCrzSHSRQGwWVva7rQc36ObDSjCjpkMfHtbpiF/HJdWZ2OqD3Gc072E03A== X-Received: by 2002:a05:600c:218f:b0:401:b204:3b85 with SMTP id e15-20020a05600c218f00b00401b2043b85mr308599wme.36.1693343786711; Tue, 29 Aug 2023 14:16:26 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id r19-20020a05600c299300b003fe539b83f2sm79038wmd.42.2023.08.29.14.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 14:16:26 -0700 (PDT) From: Javier Martinez Canillas To: Geert Uytterhoeven , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH v2 3/8] drm/ssd130x: Use bool for ssd130x_deviceinfo flags In-Reply-To: <87wmxeteyk.fsf@minerva.mail-host-address-is-not-set> References: <285005ff361969eff001386c5f97990f0e703838.1692888745.git.geert@linux-m68k.org> <87wmxeteyk.fsf@minerva.mail-host-address-is-not-set> Date: Tue, 29 Aug 2023 23:16:25 +0200 Message-ID: <874jkhczx2.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Javier Martinez Canillas writes: > Geert Uytterhoeven writes: > >> The .need_pwm and .need_chargepump fields in struct ssd130x_deviceinfo >> are flags that can have only two possible values: 0 and 1. >> Reduce kernel size by changing their types from int to bool. >> >> Signed-off-by: Geert Uytterhoeven >> --- > > Reviewed-by: Javier Martinez Canillas > Tested-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat