From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753536AbdLHVZ4 (ORCPT ); Fri, 8 Dec 2017 16:25:56 -0500 Received: from mail.arcx.com ([184.94.50.18]:14046 "EHLO WEBMAIL.arcx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753138AbdLHVZO (ORCPT ); Fri, 8 Dec 2017 16:25:14 -0500 From: Sven Van Asbroeck To: , , , , , , CC: , , Subject: [PATCH v2 0/2] eeprom: at24: convert magic numbers to structs. Date: Fri, 8 Dec 2017 16:25:04 -0500 Message-ID: <1512768306-14816-1-git-send-email-svendev@arcx.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.155] X-ClientProxiedBy: webmail.arcx.com (192.168.2.64) To WEBMAIL.arcx.com (192.168.2.64) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: use struct at24_chip_data instead of struct at24_platform_data (which decreases code size) explicitly write out of compatible nodes, e.g. "atmel,24c04" (which allows grepping for of compatible nodes) v1: first shot Sven Van Asbroeck (2): eeprom: at24: convert magic numbers to structs. eeprom: at24: remove temporary fix for at24mac402 size. drivers/misc/eeprom/at24.c | 240 +++++++++++++++++++++------------------------ 1 file changed, 110 insertions(+), 130 deletions(-) -- 1.9.1