Message ID | 20190228181710.2477-9-minyard@acm.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:18c7:0:0:0:0:0 with SMTP id i7csp984711oce; Thu, 28 Feb 2019 10:30:02 -0800 (PST) X-Google-Smtp-Source: APXvYqw88MfVPz04NV39YzQTUqQPMvwvdnYbaWfUtOrVc6zLt+1gEOVbNnxjXth7S5TVp9rhCTX+ X-Received: by 2002:a25:ca4a:: with SMTP id a71mr752103ybg.408.1551378602097; Thu, 28 Feb 2019 10:30:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551378602; cv=none; d=google.com; s=arc-20160816; b=eI/DHbjTgzpxoY9HeKHqAcAgV8aGSvyUE0yXon+kWNfZtDj/pPvw2DINwpFycjXGfq mu2DTuwtK4WSOmX5GnCyIv62jg2HqERd0N9aaEgx+JuI63ZPrzPR43VHR1I4SjuE3r44 VAEVIvfZ8uL/PCwlYr0j/q98OSiY0vLshwnmctLBKWy0wzmvh2VjkAuVRmkOB6rBFNAr IgNGru9XB1OfpZDAdXX86KmXrlWHRpJ6N3FKhz11ISIbQjpK4Pr2xoFg6TWDteQoj4i+ ACjkdXGvTcax8+7CS356XmBCrLgSyDdhBIJGMrHJ1U8GX7DKvx5xBDNLuyZsMk/J2bzm XRoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=PxmXlovPy4UmaSiUNVr3SIc5dpi6UCs2xw4qY2YArSI=; b=meZNx8QLToegWMT/BSvHfH75pd75LOJDeAe8xIbxpciCyVvfhjMV+84LzvpJ3QKWZt z8qYRrPGzKXUnDbAb1XaNRHcPkR4Zpy7OaImtGtmnr/aRbJTCvUXAwfurIq9ZijGIRPq qtl7IY6wcfec4ovOmYk5WL1udUlXRmwWhCp9IW0C4jEhsQM7oPolxtzIQxKE9E/KUus2 oK0R3j3ookrZkFF8duqS4xvJ7Wx0eAi2XKYQ2NEYQEINIe1K2h6kkNbNGxIlvDWld8r4 A8tUT6lYrMgxy3xzSWvK2Cibpul6SLhFaN9ZJnRGU7MjJmzcxhCQGkq+BkvLQuepNi+L C2fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=T2vgCc9A; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f128si10407277ybf.416.2019.02.28.10.30.02 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 28 Feb 2019 10:30:02 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=T2vgCc9A; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:44648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gzQRV-0001Ob-Ky for patch@linaro.org; Thu, 28 Feb 2019 13:30:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFm-0000ZH-5w for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:18:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFV-0002IX-Sk for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:53 -0500 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:33366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <tcminyard@gmail.com>) id 1gzQFV-0002BE-Jz for qemu-devel@nongnu.org; Thu, 28 Feb 2019 13:17:37 -0500 Received: by mail-oi1-x230.google.com with SMTP id z14so17318413oid.0 for <qemu-devel@nongnu.org>; Thu, 28 Feb 2019 10:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=PxmXlovPy4UmaSiUNVr3SIc5dpi6UCs2xw4qY2YArSI=; b=T2vgCc9A4AVM8ALK6GKWK7Jh8myVbohLokBhPkpxhCuj6KY8pcjViPbfX5W7n1TAyc D+ZwXatULKxEYWmVe5oalrJhT6XidSel2oF14l6ha0vp7LntbF95bHB7WFHHh6wDdK4t tpjscK99kudzxH1qZdVCxxtWszEYodQzQLUBn/6pDH0OAMTiJvOA/z1pr0lhQiNEfxvu aQm4htgRppUb1XLkh00Fl8G7WhwaNrpfU7rPTp6RGI64J66dV9bvDywP5fEk71EVWkCg U5oz6zosoywFtaPaLQgDzzLzb05cgZQFMZkqo7NA1OjymxsQAjGSvjH4tsIE5PLy/8hv fC6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=PxmXlovPy4UmaSiUNVr3SIc5dpi6UCs2xw4qY2YArSI=; b=I845CVB8C0+psPdqGV1eXKf5GNt45f/6Uzs+lVIiiWDht7aIZXOoAEePZZWCwvLOrC UdjmaZwe51M+gW7/gwmHhEjeaOHS6GKbLbOO7toPyDkJ7wl1uErCZH0CoQ5M9UOvqUEt hSbN6IvcN7VVwCjRGJq+fV6SiLfU4dH+aGSEKSHJp2otgcOVHxpJCfOuv1rbogARIiRl FdZhLXr8XkovAmmTpfihiHgJrru/gk0MEaS791uo0IozBgtfEL27uVnG+VCUplmzNtsM BcHGhzYKe957H8EGM7JZLnwmohD8/JPzAo39JdlhqUYBcs4kAcnGDp/6IcJW/2haV/wa MyPQ== X-Gm-Message-State: APjAAAWpvlToVUQLLmQ0ixeAkmHU2KHXg3JJQHZqE2YpVlvZ0z7Ca6m0 9I1x5UAN3R9ahQsXZ1DY6w== X-Received: by 2002:aca:c682:: with SMTP id w124mr678200oif.117.1551377842194; Thu, 28 Feb 2019 10:17:22 -0800 (PST) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id k25sm2751654otl.58.2019.02.28.10.17.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 10:17:17 -0800 (PST) Received: from t430.minyard.net (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPA id 06D481808F8; Thu, 28 Feb 2019 18:17:14 +0000 (UTC) Received: by t430.minyard.net (Postfix, from userid 1000) id EC7DC3028D0; Thu, 28 Feb 2019 12:17:13 -0600 (CST) From: minyard@acm.org To: Peter Maydell <peter.maydell@linaro.org> Date: Thu, 28 Feb 2019 12:16:59 -0600 Message-Id: <20190228181710.2477-9-minyard@acm.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190228181710.2477-1-minyard@acm.org> References: <20190228181710.2477-1-minyard@acm.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::230 Subject: [Qemu-devel] [PULL 08/19] i2c:smbus_eeprom: Get rid of the quick command X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Corey Minyard <cminyard@mvista.com>, QEMU Developers <qemu-devel@nongnu.org>, minyard@acm.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/19] i2c: Split smbus into parts
|
expand
|
diff --git a/hw/i2c/smbus_eeprom.c b/hw/i2c/smbus_eeprom.c index 760594b3f1..2f90287b69 100644 --- a/hw/i2c/smbus_eeprom.c +++ b/hw/i2c/smbus_eeprom.c @@ -38,13 +38,6 @@ typedef struct SMBusEEPROMDevice { uint8_t offset; } SMBusEEPROMDevice; -static void eeprom_quick_cmd(SMBusDevice *dev, uint8_t read) -{ -#ifdef DEBUG - printf("eeprom_quick_cmd: addr=0x%02x read=%d\n", dev->i2c.address, read); -#endif -} - static uint8_t eeprom_receive_byte(SMBusDevice *dev) { SMBusEEPROMDevice *eeprom = (SMBusEEPROMDevice *) dev; @@ -97,7 +90,6 @@ static void smbus_eeprom_class_initfn(ObjectClass *klass, void *data) SMBusDeviceClass *sc = SMBUS_DEVICE_CLASS(klass); dc->realize = smbus_eeprom_realize; - sc->quick_cmd = eeprom_quick_cmd; sc->receive_byte = eeprom_receive_byte; sc->write_data = eeprom_write_data; dc->props = smbus_eeprom_properties;