From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andri Yngvason Subject: [PATCH 0/4] Consolidate and unify state change handling Date: Thu, 18 Sep 2014 16:37:30 +0000 Message-ID: <541B0A4A.1050008@marel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bl2on0063.outbound.protection.outlook.com ([65.55.169.63]:14112 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756463AbaIRQhj (ORCPT ); Thu, 18 Sep 2014 12:37:39 -0400 Sender: linux-can-owner@vger.kernel.org List-ID: To: linux-can@vger.kernel.org Hi, Here are my patches to improve consistency of error-state handling between platforms. These are also my first patches posted to the linux kernel, so I apologise in advance if I'm doing something wrong. Andri Yngvason (4): can: dev: Add generic error-state-change handling can: flexcan: Use generic error-state-change handling can: mscan: Use generic error-state-change handling can: sja1000: Use generic error-state-change handling drivers/net/can/dev.c | 79 +++++++++++++++++++++++++++++++++++++++ drivers/net/can/flexcan.c | 66 ++------------------------------ drivers/net/can/mscan/mscan.c | 62 ++++++++++++++---------------- drivers/net/can/sja1000/sja1000.c | 29 +++++--------- include/linux/can/dev.h | 10 +++++ include/uapi/linux/can/error.h | 1 + 6 files changed, 130 insertions(+), 117 deletions(-)