Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753566Ab2FLS41 (ORCPT ); Tue, 12 Jun 2012 14:56:27 -0400 Received: from mail127.messagelabs.com ([216.82.250.115]:6284 "EHLO mail127.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751997Ab2FLS40 (ORCPT ); Tue, 12 Jun 2012 14:56:26 -0400 X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-4.tower-127.messagelabs.com!1339527379!8245307!21 X-Originating-IP: [216.166.12.31] X-StarScan-Version: 6.5.10; banners=-,-,- X-VirusChecked: Checked From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH 0/8] staging: comedi: cleanup alloc_subdevices Date: Tue, 12 Jun 2012 11:56:11 -0700 User-Agent: KMail/1.9.9 CC: , , , MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201206121156.11447.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 964 Lines: 18 Cleanup the comedi core "alloc_subdevices" function and it's use in the comedi drivers. staging: comedi: add namespace to comedi's alloc_subdevices() function staging: comedi: change type of num_subdevices parameter to comedi_alloc_subdevices staging: comedi: sanity check num_subdevices parameter in comedi_alloc_subdevices staging: comedi: only set dev->n_subdevices when kcalloc succeedes staging: comedi: remove the comed_alloc_subdevices "allocation failed" messages staging: comedi: remove the "Allocate the subdevice..." comments staging: comedi: propogate error code from comedi_alloc_subdevices staging: comedi: cleanup comedi_alloc_subdevices Signed-off-by: H Hartley Sweeten -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/